/* ═══════════════════════════════════════════════════════════
   IoTFIY Easy Solar — Solar Dawn Theme
   Night charcoal · amber sun · sky cyan · Outfit + Bricolage
   Distinct from Ecosystem / Gateway / Sales Hub
   ═══════════════════════════════════════════════════════════ */

.easy-solar-page {
  --es-bg: #0b0d12;
  --es-panel: #12151d;
  --es-panel-2: #1a1f2b;
  --es-border: rgba(251, 191, 36, 0.16);
  --es-sun: #fbbf24;
  --es-sun-hot: #f59e0b;
  --es-sky: #38bdf8;
  --es-mint: #34d399;
  --es-coral: #fb7185;
  --es-text: #c8cdd8;
  --es-muted: #7b8499;
  --es-heading: #f4f6fb;
  --background-color: var(--es-bg);
  --default-color: var(--es-text);
  --heading-color: var(--es-heading);
  --surface-color: var(--es-panel-2);
  --accent-color: var(--es-sun-hot);
  --contrast-color: #0b0d12;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--es-bg);
  color: var(--es-text);
  -webkit-font-smoothing: antialiased;
}

.easy-solar-page h1,
.easy-solar-page h2,
.easy-solar-page h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--es-heading);
}

.easy-solar-page h4,
.easy-solar-page h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--es-heading);
}

.easy-solar-page .header {
  background: rgba(11, 13, 18, 0.9) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid var(--es-border) !important;
}

.easy-solar-page .header .logo img {
  max-height: 34px;
  filter: brightness(0) invert(1);
}

.easy-solar-page .header .navmenu > ul > li > a {
  color: rgba(244, 246, 251, 0.88) !important;
}

.easy-solar-page .header .navmenu > ul > li > a.active,
.easy-solar-page .header .navmenu > ul > li > a:hover {
  color: var(--es-sun) !important;
}

.easy-solar-page .header .btn-getstarted {
  background: linear-gradient(135deg, var(--es-sun-hot), #d97706) !important;
  border: none !important;
  border-radius: 100px !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35) !important;
}

.easy-solar-page .main { padding-top: 0; }

.es-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.es-btn--sun {
  background: linear-gradient(135deg, var(--es-sun), var(--es-sun-hot));
  color: #0b0d12;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3);
}

.es-btn--sun:hover {
  transform: translateY(-2px);
  color: #0b0d12;
}

.es-btn--ghost {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid var(--es-border);
  color: var(--es-sun);
}

.es-btn--ghost:hover { color: var(--es-sun); background: rgba(251, 191, 36, 0.14); }

.es-btn--outline {
  background: transparent;
  border: 1px solid var(--es-border);
  color: var(--es-heading);
}

.es-btn--outline:hover {
  border-color: var(--es-sun);
  color: var(--es-sun);
}

.es-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid var(--es-border);
  color: var(--es-sun);
  font-size: 0.8125rem;
  font-weight: 600;
}

.es-section { padding: clamp(4rem, 8vw, 6rem) 0; position: relative; }
.es-section--panel { background: var(--es-panel); }

.es-head { max-width: 680px; margin-bottom: 2.75rem; }
.es-head--center { text-align: center; margin-left: auto; margin-right: auto; }

.es-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.es-head h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--es-sun), #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.es-head p {
  color: var(--es-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
}

/* Side nav */
.es-sidenav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(11, 13, 18, 0.95);
  border: 1px solid var(--es-border);
}

.es-sidenav a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--es-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.es-sidenav a:hover,
.es-sidenav a.active {
  color: var(--es-sun);
  background: rgba(251, 191, 36, 0.12);
}

/* ─── Hero — full-bleed product stage ─── */
.es-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
  padding: 0;
}

.es-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.es-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  transform: scale(1.02);
  animation: es-hero- ken 18s ease-in-out infinite alternate;
}

@keyframes es-hero-ken {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, 1%); }
}

.es-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.25) 62%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.es-hero__glow {
  position: absolute;
  width: 55%;
  height: 55%;
  right: 5%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18), transparent 70%);
  pointer-events: none;
  animation: es-glow-pulse 6s ease-in-out infinite;
}

@keyframes es-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.es-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 8vw, 88px);
}

.es-hero__copy {
  max-width: 560px;
}

.es-hero__brand {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--es-sun);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.es-hero__copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  line-height: 1.05;
  margin: 0 0 1.15rem;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}

.es-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  max-width: 440px;
  color: rgba(244, 246, 251, 0.78);
  margin: 0 0 1.75rem;
}

.es-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.es-hero__actions .es-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.es-hero__actions .es-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--es-sun);
  color: var(--es-sun);
}

@keyframes es-spin { to { transform: rotate(360deg); } }

/* ─── Energy flow strip ─── */
.es-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--es-panel-2);
  border: 1px solid var(--es-border);
}

.es-flow__node {
  text-align: center;
  padding: 0.75rem 1.25rem;
  min-width: 100px;
}

.es-flow__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(251, 191, 36, 0.1);
  color: var(--es-sun);
}

.es-flow__node.active .es-flow__icon {
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.2);
}

.es-flow__node h4 {
  font-size: 0.8125rem;
  margin: 0 0 2px;
}

.es-flow__node p {
  font-size: 0.6875rem;
  color: var(--es-muted);
  margin: 0;
}

.es-flow__pipe {
  width: 48px;
  height: 3px;
  background: rgba(251, 191, 36, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
}

.es-flow__pipe::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--es-sun), transparent);
  animation: es-pulse-flow 1.6s linear infinite;
}

@keyframes es-pulse-flow {
  from { transform: translateX(-100%); }
  to { transform: translateX(280%); }
}

/* ─── Home Power Lab (simulation) ─── */
.es-lab {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.es-lab__stage {
  border-radius: 20px;
  background: var(--es-panel-2);
  border: 1px solid var(--es-border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.es-lab__sky {
  position: absolute;
  inset: 0 0 45% 0;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  transition: background 0.6s;
}

.es-lab__sky.is-dawn { background: linear-gradient(180deg, #7c3aed55, #f59e0b44, #0f172a); }
.es-lab__sky.is-noon { background: linear-gradient(180deg, #38bdf866, #fbbf2444, #0f172a); }
.es-lab__sky.is-dusk { background: linear-gradient(180deg, #fb718555, #f59e0b33, #0f172a); }
.es-lab__sky.is-night { background: linear-gradient(180deg, #020617, #0f172a); }

.es-lab__sun {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef3c7, var(--es-sun) 45%, var(--es-sun-hot));
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.55);
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.5s, opacity 0.5s, box-shadow 0.5s;
  z-index: 2;
}

.es-lab__sun.is-dim {
  opacity: 0.25;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
}

.es-lab__panel-wrap {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  width: min(280px, 70%);
  z-index: 3;
}

.es-lab__panel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(251, 191, 36, 0.35);
  aspect-ratio: 16/10;
  background: #0ea5e9;
}

.es-lab__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.es-lab__dust {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(120, 113, 108, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 40%, rgba(120, 113, 108, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(87, 83, 78, 0.5) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(120, 113, 108, 0.35), rgba(68, 64, 60, 0.25));
  background-size: 40px 40px, 50px 50px, 35px 35px, auto;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.es-lab__wiper {
  position: absolute;
  top: 0;
  left: -20%;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0;
  pointer-events: none;
}

.es-lab__wiper.is-cleaning {
  opacity: 1;
  animation: es-wipe 1.2s ease-in-out;
}

@keyframes es-wipe {
  from { left: -20%; }
  to { left: 110%; }
}

.es-lab__rays-down {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 4px;
  height: 12%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--es-sun), transparent);
  opacity: 0.6;
  z-index: 2;
}

.es-lab__rays-down::before,
.es-lab__rays-down::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 100%;
  background: inherit;
  opacity: 0.5;
}

.es-lab__rays-down::before { left: -18px; transform: rotate(-8deg); }
.es-lab__rays-down::after { right: -18px; transform: rotate(8deg); }

.es-lab__home {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, #0a0c10 18%, #0a0c10);
  z-index: 4;
  padding: 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.es-lab__room {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.es-lab__device {
  border: 1px solid var(--es-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--es-muted);
}

.es-lab__device:hover { border-color: rgba(251, 191, 36, 0.35); }

.es-lab__device.on {
  color: var(--es-heading);
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.12);
}

.es-lab__device i {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.es-lab__device.on i { color: var(--es-sun); }

.es-lab__device.on[data-type="light"] i { color: #fde68a; text-shadow: 0 0 12px rgba(253, 230, 138, 0.6); }
.es-lab__device.on[data-type="fan"] i { animation: es-spin 1.2s linear infinite; color: var(--es-sky); }
.es-lab__device.on[data-type="phone"] i { color: var(--es-mint); }

.es-lab__device span {
  font-size: 0.6875rem;
  font-weight: 600;
  display: block;
}

.es-lab__device small {
  font-size: 0.625rem;
  color: var(--es-muted);
}

.es-lab__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.es-lab__card {
  border-radius: 16px;
  background: var(--es-panel-2);
  border: 1px solid var(--es-border);
  padding: 1.25rem;
}

.es-lab__card h4 {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.es-lab__card h4 i { color: var(--es-sun); }

.es-lab__meter {
  height: 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
}

.es-lab__meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--es-mint), var(--es-sun));
  transition: width 0.35s, background 0.35s;
}

.es-lab__meter-fill.is-warn {
  background: linear-gradient(90deg, var(--es-sun-hot), var(--es-coral));
}

.es-lab__meter-fill.is-over {
  background: linear-gradient(90deg, var(--es-coral), #ef4444);
}

.es-lab__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--es-muted);
}

.es-lab__meta strong { color: var(--es-heading); }

.es-lab__slider {
  width: 100%;
  accent-color: var(--es-sun-hot);
  margin: 8px 0;
}

.es-lab__slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--es-muted);
}

.es-lab__dust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.es-lab__dust-bar {
  flex: 1;
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.es-lab__dust-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a8a29e, #78716c);
  transition: width 0.3s;
}

.es-lab__clean-btn {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--es-border);
  background: rgba(56, 189, 248, 0.12);
  color: var(--es-sky);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}

.es-lab__clean-btn:hover { background: rgba(56, 189, 248, 0.2); }

.es-lab__status {
  font-size: 0.8125rem;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--es-mint);
  margin-top: 10px;
}

.es-lab__status.is-warn {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.25);
  color: var(--es-sun);
}

.es-lab__status.is-over {
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.25);
  color: var(--es-coral);
}

/* Features */
.es-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.es-feature {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--es-panel-2);
  border: 1px solid var(--es-border);
  transition: transform 0.2s, border-color 0.2s;
}

.es-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.35);
}

.es-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.1);
  color: var(--es-sun);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.es-feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.es-feature p {
  font-size: 0.875rem;
  color: var(--es-muted);
  margin: 0;
  line-height: 1.55;
}

/* Split feature */
.es-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.es-split:nth-child(even) .es-split__visual { order: -1; }

.es-split__visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--es-border);
  background: var(--es-panel-2);
}

.es-split__visual img {
  width: 100%;
  display: block;
}

.es-split__copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.es-split__copy p {
  color: var(--es-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.es-split__copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.es-split__copy li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.es-split__copy li i {
  color: var(--es-mint);
  margin-top: 3px;
}

/* Use cases */
.es-cases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.es-case {
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--es-panel-2);
  border: 1px solid var(--es-border);
  text-align: center;
}

.es-case i {
  font-size: 1.75rem;
  color: var(--es-sky);
  margin-bottom: 10px;
  display: block;
}

.es-case h4 {
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.es-case p {
  font-size: 0.75rem;
  color: var(--es-muted);
  margin: 0;
  line-height: 1.45;
}

.es-case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.es-case-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--es-border);
  display: block;
}

/* Problem / solution */
.es-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.es-vs__col {
  padding: 1.75rem;
  border-radius: 16px;
}

.es-vs__col--bad {
  background: rgba(251, 113, 133, 0.06);
  border: 1px dashed rgba(251, 113, 133, 0.3);
}

.es-vs__col--good {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.es-vs__col h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.es-vs__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.es-vs__col li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  display: flex;
  gap: 8px;
}

/* CTA */
.es-cta {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(245, 158, 11, 0.18), transparent),
    var(--es-panel);
  border-top: 1px solid var(--es-border);
}

.es-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.es-cta p {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--es-muted);
  line-height: 1.65;
}

.es-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.es-cta__contact {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--es-muted);
}

.es-cta__contact a { color: var(--es-sun); }

/* Mobile */
.es-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: none;
  justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 18, 0.96);
  border-top: 1px solid var(--es-border);
}

.es-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--es-muted);
  text-decoration: none;
}

.es-dock a i { font-size: 1.125rem; }
.es-dock a.active { color: var(--es-sun); }

/* ─── Mobile top bar ─── */
.easy-solar-page .mobile-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  display: block;
  background: rgba(11, 13, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.18);
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.easy-solar-page .mobile-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.easy-solar-page .mobile-logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.easy-solar-page .mobile-logo img {
  max-height: 30px;
  width: auto;
  max-width: min(132px, 42vw);
  filter: brightness(0) invert(1);
  display: block;
}

.easy-solar-page .mobile-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.easy-solar-page .mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--es-sun), var(--es-sun-hot));
  color: #0b0d12 !important;
  text-decoration: none;
  white-space: nowrap;
}

.easy-solar-page .mobile-menu-toggle {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  color: #f4f6fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.easy-solar-page .mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--es-sun);
  outline-offset: 2px;
}

.easy-solar-page .mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10055;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.easy-solar-page.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.easy-solar-page .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  max-height: 100vh;
  background: #12151d;
  border-left: 1px solid rgba(251, 191, 36, 0.18);
  z-index: 10060;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  pointer-events: none;
}

.easy-solar-page .mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}

.easy-solar-page .mobile-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 16px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.12);
}

.easy-solar-page .mobile-menu-header span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  color: #f4f6fb;
  display: block;
  line-height: 1.2;
}

.easy-solar-page .mobile-menu-header small {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  color: var(--es-sun);
  font-weight: 600;
}

.easy-solar-page .mobile-menu-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4f6fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1.1rem;
}

.easy-solar-page .mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 14px;
}

.easy-solar-page .mobile-menu ul li a {
  display: block;
  padding: 14px 14px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #1a1f2b;
  border: 1px solid rgba(251, 191, 36, 0.08);
  color: #c8cdd8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.easy-solar-page .mobile-menu ul li a:active,
.easy-solar-page .mobile-menu ul li a:hover {
  color: var(--es-sun);
  border-color: rgba(251, 191, 36, 0.28);
}

.easy-solar-page.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

.easy-solar-page .header .mobile-nav-toggle {
  display: none !important;
}

@media (max-width: 420px) {
  .easy-solar-page .mobile-nav-cta {
    padding: 9px 11px;
    font-size: 0.6875rem;
  }

  .easy-solar-page .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

.easy-solar-page .footer {
  background: var(--es-bg) !important;
  border-top: 1px solid var(--es-border);
}

.easy-solar-page .footer h4,
.easy-solar-page .footer .sitename { color: var(--es-heading) !important; }

.easy-solar-page .footer p,
.easy-solar-page .footer .footer-contact p { color: var(--es-muted) !important; }

.easy-solar-page .footer .footer-newsletter .newsletter-form {
  background: var(--es-panel-2) !important;
  border: 1px solid var(--es-border) !important;
}

.easy-solar-page .footer .footer-newsletter .newsletter-form input[type=email] {
  background: transparent !important;
  color: var(--es-text) !important;
}

.easy-solar-page .footer .footer-newsletter .newsletter-form input[type=submit] {
  background: linear-gradient(135deg, var(--es-sun-hot), #d97706) !important;
  color: #0b0d12 !important;
}

.easy-solar-page .footer .footer-links ul a,
.easy-solar-page .footer .footer-links ul i { color: var(--es-muted) !important; }

.easy-solar-page .footer .footer-links ul a:hover { color: var(--es-sun) !important; }

.easy-solar-page .footer .footer-contact a { color: var(--es-sun) !important; }

.easy-solar-page .footer .social-links a {
  background: var(--es-panel-2) !important;
  border: 1px solid var(--es-border);
  color: var(--es-muted) !important;
}

.easy-solar-page .footer .copyright { border-top: 1px solid var(--es-border); }

.easy-solar-page .scroll-top {
  background: linear-gradient(135deg, var(--es-sun-hot), #d97706) !important;
  border: none;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.easy-solar-page .scroll-top i { color: #0b0d12 !important; }

@media (max-width: 1199px) {
  .easy-solar-page #header { display: none !important; }
  .easy-solar-page .mobile-navbar { display: block !important; }
  .easy-solar-page .mobile-menu.d-xl-none,
  .easy-solar-page .mobile-menu-backdrop.d-xl-none { display: block !important; }
  .es-dock { display: flex; }
  .es-sidenav { display: none !important; }
  .easy-solar-page .main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1200px) {
  .easy-solar-page .mobile-navbar,
  .easy-solar-page .mobile-menu,
  .easy-solar-page .mobile-menu-backdrop {
    display: none !important;
  }
  .es-dock { display: none !important; }
  .easy-solar-page .scroll-top { bottom: 24px; }
}

@media (max-width: 991px) {
  .es-lab,
  .es-split,
  .es-vs {
    grid-template-columns: 1fr;
  }

  .es-split:nth-child(even) .es-split__visual { order: 0; }

  .es-features { grid-template-columns: 1fr 1fr; }
  .es-cases { grid-template-columns: 1fr 1fr; }
  .es-case-gallery { grid-template-columns: 1fr; }

  .es-flow__pipe { width: 24px; }

  .es-hero {
    min-height: min(100svh, 780px);
    align-items: flex-end;
  }

  .es-hero__media img {
    object-position: 70% center;
    animation: none;
    transform: scale(1.05);
  }

  .es-hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.88) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 70%);
  }

  .es-hero__content {
    padding: 100px 0 48px;
  }

  .es-hero__copy {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .es-features { grid-template-columns: 1fr; }
  .es-cases { grid-template-columns: 1fr; }
  .es-lab__room { grid-template-columns: repeat(2, 1fr); }

  .es-hero__copy h1 {
    font-size: 2.15rem;
  }

  .es-hero__brand {
    font-size: 1.2rem;
  }
}
