/*
Theme Name: Power Guard
Theme URI: https://power-guard.jp
Author: Power Guard Co., Ltd.
Author URI: https://power-guard.jp
Description: Custom WordPress theme for Power Guard - Solar O&M Specialists
Version: 1.0.0
License: Private
Text Domain: power-guard
Tags: solar, energy, japanese, business
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --pg-green-dark:   #063d2b;
  --pg-green:        #1D9E75;
  --pg-green-mid:    #0F6E56;
  --pg-green-light:  #5DCAA5;
  --pg-green-pale:   #E1F5EE;
  --pg-amber:        #EF9F27;
  --pg-amber-pale:   #FAEEDA;
  --pg-red:          #E24B4A;
  --pg-red-pale:     #FCEBEB;
  --pg-blue:         #185FA5;
  --pg-blue-pale:    #E6F1FB;
  --pg-earth:        #3B6D11;
  --pg-earth-pale:   #EAF3DE;
  --pg-white:        #ffffff;
  --pg-off-white:    #f7f8f6;
  --pg-gray-light:   #f0f1ef;
  --pg-gray:         #888780;
  --pg-gray-dark:    #444441;
  --pg-text:         #1a1a18;
  --pg-text-muted:   #6b6b68;
  --pg-border:       rgba(0,0,0,0.08);

  --font-heading: 'Noto Serif JP', 'Georgia', serif;
  --font-body:    'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1140px;
  --section-v:  80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pg-text);
  background: var(--pg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--pg-text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.8; color: var(--pg-text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pg-green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--pg-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--pg-text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-v) 0; }
.section--dark { background: var(--pg-green-dark); }
.section--gray { background: var(--pg-off-white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--pg-green);
  color: var(--pg-white);
  border: 2px solid var(--pg-green);
}
.btn-primary:hover {
  background: var(--pg-green-mid);
  border-color: var(--pg-green-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--pg-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--pg-green);
  border: 2px solid var(--pg-green);
}
.btn-outline-dark:hover {
  background: var(--pg-green);
  color: var(--pg-white);
  transform: translateY(-1px);
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pg-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--pg-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pg-text);
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--pg-text-muted);
  letter-spacing: 0.05em;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pg-text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--pg-green);
  background: var(--pg-green-pale);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pg-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone svg { width: 14px; height: 14px; color: var(--pg-green); }

.btn-nav {
  background: var(--pg-green);
  color: var(--pg-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-nav:hover { background: var(--pg-green-mid); box-shadow: var(--shadow-sm); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pg-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh !important;
  background: var(--pg-green-dark);
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,158,117,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,158,117,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(29,158,117,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: var(--max-width) !important;
  margin: 0 auto !important;
  padding: 80px 24px !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,158,117,0.2);
  border: 1px solid rgba(93,202,165,0.35);
  border-radius: 40px;
  padding: 6px 14px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pg-green-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pg-green-light);
  letter-spacing: 0.06em;
}

.hero h1 {
  color: var(--pg-white);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--pg-green-light);
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding: 24px 0 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pg-white);
  line-height: 1;
  white-space: nowrap;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Hero visual — animated solar panels replacing dashboard */
.hero-visual { position: relative; }

.solar-viz {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.solar-viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.solar-viz-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.solar-viz-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; color: var(--pg-green-light);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pg-green-light);
  animation: pulse 1.5s ease-in-out infinite;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  margin-bottom: 20px;
}
.panel {
  aspect-ratio: 1.6 / 1;
  border-radius: 3px;
  transition: opacity 0.5s ease;
}
.panel-ok     { background: var(--pg-green); opacity: 0.75; }
.panel-ok2    { background: var(--pg-green-mid); opacity: 0.6; }
.panel-warn   { background: var(--pg-amber); opacity: 0.8; }
.panel-alert  { background: var(--pg-red); opacity: 0.85; animation: blink 2s ease-in-out infinite; }

@keyframes blink {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.4; }
}

.panel-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; color: rgba(255,255,255,0.45);
}
.legend-dot {
  width: 10px; height: 7px; border-radius: 2px; flex-shrink: 0;
}

.solar-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.solar-metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 14px;
}
.solar-metric-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.solar-metric-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pg-white);
  line-height: 1;
}
.solar-metric-sub {
  font-size: 0.65rem;
  color: var(--pg-green-light);
  margin-top: 3px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--pg-off-white);
  border-top: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
  padding: 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px 18px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pg-gray-dark);
  white-space: nowrap;
  border-right: 1px solid var(--pg-border);
  margin-right: 28px;
}
.trust-item:last-child { border-right: none; margin-right: 0; }
.trust-icon {
  width: 30px; height: 30px;
  background: var(--pg-green-pale);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 15px; height: 15px; color: var(--pg-green); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--pg-white);
  border: 1px solid var(--pg-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--pg-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pg-text);
}
.service-card p {
  font-size: 0.875rem;
  color: var(--pg-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ============================================================
   WHY SECTION / VALUE PROPS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why-list { display: flex; flex-direction: column; gap: 24px; }

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.why-item:hover {
  background: rgba(29,158,117,0.08);
  border-color: rgba(93,202,165,0.25);
}

.why-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(93,202,165,0.3);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--pg-white); margin-bottom: 5px; }
.why-item p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.why-stat-card.accent {
  background: rgba(29,158,117,0.15);
  border-color: rgba(93,202,165,0.3);
}
.why-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pg-white);
  line-height: 1;
  margin-bottom: 6px;
}
.why-stat-num.green { color: var(--pg-green-light); }
.why-stat-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--pg-white);
  border: 1px solid var(--pg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.case-header {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.case-header-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-overlay { position: absolute; inset: 0; }
.case-badges {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.case-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}
.case-badge-size {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pg-white);
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.case-body { padding: 22px 24px 24px; }
.case-location {
  font-size: 0.75rem;
  color: var(--pg-green);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.case-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.case-metrics { display: flex; gap: 20px; }
.case-metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg-green);
  line-height: 1;
  margin-bottom: 3px;
}
.case-metric-label { font-size: 0.72rem; color: var(--pg-text-muted); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--pg-green-pale), var(--pg-green), var(--pg-green-pale));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.process-num-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--pg-white);
  border: 3px solid var(--pg-green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.process-step:hover .process-num-wrap {
  border-color: var(--pg-green);
  background: var(--pg-green-pale);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg-green);
}

.process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.83rem; color: var(--pg-text-muted); line-height: 1.7; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--pg-green-dark);
  padding: var(--section-v) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(29,158,117,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--pg-white); margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,0.55); max-width: 500px; line-height: 1.8; }

.cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }

.cta-phone-wrap { text-align: right; }
.cta-phone {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--pg-green-light);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.cta-phone svg { width: 22px; height: 22px; }
.cta-hours { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #03271a;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-name { color: var(--pg-white); margin-bottom: 12px; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pg-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--pg-green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { font-size: 0.78rem; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   ANIMATIONS (fade-in on scroll)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-v: 56px; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--pg-white);
    border-bottom: 1px solid var(--pg-border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-right { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { overflow-x: auto; gap: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }

.wp-block-image img { border-radius: var(--radius-md); }

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.pg-carousel-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  height: 500px;
}

.pg-carousel-slides {
  position: relative;
  width: 100%;
  height: 500px;
}

.pg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.pg-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.pg-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.pg-carousel-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(6,61,43,0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.pg-badge-label {
  font-size: 0.7rem;
  color: var(--pg-green-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.pg-badge-val {
  font-size: 0.88rem;
  color: white;
  font-weight: 600;
}

.pg-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pg-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.pg-dot--active {
  width: 20px;
  background: var(--pg-green-light);
}

.pg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6,61,43,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}

.pg-arrow:hover { background: rgba(6,61,43,0.95); }
.pg-arrow--prev { left: 12px; }
.pg-arrow--next { right: 12px; }
