:root {
  --ink: #151714;
  --forest: #19382f;
  --teal: #04756f;
  --mint: #d8efe6;
  --sun: #f4bd45;
  --amber: #cf7a1c;
  --clay: #aa5b3e;
  --paper: #f4efe4;
  --soft: #fbf8f0;
  --white: #ffffff;
  --muted: #686a61;
  --line: rgba(21, 23, 20, 0.14);
  --light-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(22, 28, 25, 0.18);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: var(--shell);
  margin: 0 auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(226, 241, 249, 0.22)),
    rgba(250, 250, 246, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 18px 58px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(239, 248, 246, 0.36)),
    rgba(251, 248, 240, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 246, 0.45));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 10px 26px rgba(15, 39, 32, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 246, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(15, 39, 32, 0.12);
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(22, 37, 33, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.34);
  color: var(--teal);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 82, 67, 0.94), rgba(15, 55, 62, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 30px rgba(10, 34, 29, 0.16);
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
  animation: phonePulse 3.4s ease-in-out infinite;
}

@keyframes phonePulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 12px 30px rgba(10, 34, 29, 0.16);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 14px 34px rgba(10, 34, 29, 0.2),
      0 0 0 6px rgba(21, 82, 67, 0.12);
  }
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroSlideshow 70s infinite;
  will-change: opacity, transform;
}

.hero-bg img:nth-child(1) { animation-delay: 0s; }
.hero-bg img:nth-child(2) { animation-delay: 7s; }
.hero-bg img:nth-child(3) { animation-delay: 14s; }
.hero-bg img:nth-child(4) { animation-delay: 21s; }
.hero-bg img:nth-child(5) { animation-delay: 28s; }
.hero-bg img:nth-child(6) { animation-delay: 35s; }
.hero-bg img:nth-child(7) { animation-delay: 42s; }
.hero-bg img:nth-child(8) { animation-delay: 49s; }
.hero-bg img:nth-child(9) { animation-delay: 56s; }
.hero-bg img:nth-child(10) { animation-delay: 63s; }

@keyframes heroSlideshow {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  3%,
  10% {
    opacity: 1;
  }
  17% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img {
    animation: none;
  }

  .hero-bg img:first-child {
    opacity: 1;
  }

  .status-dot,
  .status-dot::after,
  .hero-actions .btn-primary,
  .header-phone {
    animation: none;
  }
}

.hero-shade {
  background:
    radial-gradient(circle at 73% 28%, rgba(244, 189, 69, 0.32), transparent 26%),
    linear-gradient(100deg, rgba(14, 19, 15, 0.93) 0%, rgba(20, 31, 26, 0.78) 42%, rgba(20, 31, 26, 0.3) 100%),
    linear-gradient(0deg, rgba(15, 19, 16, 0.88) 0%, rgba(15, 19, 16, 0.08) 36%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 430px;
  gap: 54px;
  align-items: end;
  min-height: calc(100vh - 74px);
  padding: 154px 0 120px;
}

@media (min-width: 981px) {
  .hero .hero-copy,
  .hero .energy-dashboard {
    transform: translateY(-42px);
  }
}

.hero-copy,
.energy-dashboard,
.intro-title,
.intro-copy,
.system-copy,
.contact-panel,
.lead-form {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: 4.25rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #151714;
  background: var(--sun);
  box-shadow: 0 16px 36px rgba(244, 189, 69, 0.34);
}

.hero-actions .btn-primary {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(244, 189, 69, 0.34);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      0 18px 42px rgba(244, 189, 69, 0.42),
      0 0 0 7px rgba(244, 189, 69, 0.12);
    filter: brightness(1.04);
  }
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

body.subpage .page-actions .btn-secondary {
  color: rgba(21, 23, 20, 0.82);
  border-color: rgba(21, 23, 20, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.energy-dashboard {
  align-self: center;
  overflow: hidden;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  color: #25283d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(218, 239, 255, 0.26)),
    rgba(238, 248, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.dashboard-header,
.dashboard-header div,
.dashboard-tabs,
.dashboard-weather,
.dashboard-kpis,
.dashboard-kpis div,
.dashboard-summary {
  display: flex;
  align-items: center;
}

.dashboard-header {
  justify-content: space-between;
  min-height: 30px;
  gap: 10px;
}

.dashboard-header div {
  gap: 8px;
}

.status-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6fd617;
  box-shadow: 0 0 0 7px rgba(111, 214, 23, 0.12);
  animation: statusDotPulse 2.8s ease-in-out infinite;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: rgba(111, 214, 23, 0.2);
  transform: scale(0.68);
  opacity: 0;
  animation: statusDotHalo 2.8s ease-out infinite;
}

@keyframes statusDotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(111, 214, 23, 0.12);
  }

  45% {
    transform: scale(1.08);
    box-shadow: 0 0 0 9px rgba(111, 214, 23, 0.18);
  }
}

@keyframes statusDotHalo {
  0% {
    opacity: 0.48;
    transform: scale(0.68);
  }

  68%,
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

.dashboard-header strong {
  font-size: 1.05rem;
}

.dashboard-header > span {
  color: rgba(37, 40, 61, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-tabs {
  justify-content: space-between;
  margin-top: 12px;
  color: rgba(37, 40, 61, 0.34);
  font-size: 0.84rem;
  font-weight: 900;
}

.dashboard-tabs span {
  position: relative;
  padding-bottom: 6px;
}

.dashboard-tabs .active {
  color: #25283d;
}

.dashboard-tabs .active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 99px;
  background: var(--sun);
  content: "";
}

.dashboard-weather {
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.weather-icon {
  position: relative;
  width: 36px;
  height: 28px;
}

.weather-icon::before {
  position: absolute;
  top: 8px;
  left: 3px;
  width: 26px;
  height: 15px;
  border-radius: 18px;
  background: #b9e0ff;
  box-shadow: 11px 3px 0 #9ccfff, 0 10px 0 -8px #2c91db, 15px 12px 0 -9px #2c91db;
  content: "";
}

.weather-icon span {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun);
}

.dashboard-weather strong {
  margin-right: auto;
  font-size: 1.28rem;
}

.dashboard-weather time {
  color: rgba(37, 40, 61, 0.56);
  font-size: 0.74rem;
}

.dashboard-kpis {
  gap: 8px;
  margin-top: 14px;
}

.dashboard-kpis div {
  flex: 1;
  gap: 7px;
  min-height: 60px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 12px 34px rgba(33, 45, 72, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dashboard-kpis svg {
  color: #b9bcc5;
}

.dashboard-kpis strong {
  font-size: 1.34rem;
  line-height: 1;
}

.dashboard-kpis span {
  color: #b1b4bf;
  font-weight: 800;
}

.energy-flow {
  position: relative;
  height: 292px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(238, 247, 255, 0.62)),
    rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 34px rgba(33, 45, 72, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.flow-routes {
  position: absolute;
  inset: 18px 20px 18px;
  z-index: 1;
  width: calc(100% - 40px);
  height: calc(100% - 36px);
  overflow: visible;
}

.route {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-blue {
  marker-end: url("#arrow-blue");
  stroke: #2f76d2;
}

.route-sun {
  marker-end: url("#arrow-sun");
  stroke: var(--sun);
}

#arrow-blue path {
  fill: #2f76d2;
}

#arrow-sun path {
  fill: var(--sun);
}

.flow-item,
.flow-core {
  position: absolute;
  z-index: 2;
  color: #25283d;
  text-align: center;
}

.flow-item svg,
.flow-core svg {
  width: 34px;
  height: 34px;
  color: #2f76d2;
}

.flow-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 3px;
  white-space: nowrap;
}

.flow-value strong {
  font-size: 1.02rem;
  line-height: 1;
}

.flow-value span,
.flow-value small {
  margin-left: 0;
  color: #a6abb6;
  font-weight: 800;
}

.flow-item em {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--white);
  background: #2f76d2;
  font-size: 0.66rem;
  font-style: normal;
}

.flow-solar {
  top: 44px;
  left: 42px;
}

.flow-home {
  top: 44px;
  right: 42px;
}

.flow-battery {
  bottom: 34px;
  left: 42px;
}

.flow-grid {
  right: 50px;
  bottom: 38px;
}

.flow-core {
  top: 130px;
  left: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-left: -20px;
  border: 1px solid rgba(47, 118, 210, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 20px rgba(33, 45, 72, 0.08);
}

.dashboard-summary {
  gap: 8px;
  margin-top: 12px;
}

.dashboard-summary div {
  flex: 1;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 12px 34px rgba(33, 45, 72, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dashboard-summary span,
.dashboard-summary strong {
  display: block;
}

.dashboard-summary span {
  color: #696f84;
  font-weight: 800;
}

.dashboard-summary strong {
  margin-top: 4px;
  font-size: 1.22rem;
}

.dashboard-summary small {
  color: #b1b4bf;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid var(--light-line);
  background: rgba(17, 22, 18, 0.72);
  backdrop-filter: blur(16px);
}

.hero-strip::before,
.hero-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
  content: "";
}

.hero-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(17, 22, 18, 0.96), rgba(17, 22, 18, 0));
}

.hero-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(17, 22, 18, 0.96), rgba(17, 22, 18, 0));
}

.hero-strip-track {
  display: flex;
  width: max-content;
  animation: heroTicker 26s linear infinite;
}

.hero-strip:hover .hero-strip-track {
  animation-play-state: paused;
}

.hero-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  min-width: 240px;
  padding: 12px 34px;
  border-right: 1px solid var(--light-line);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

@keyframes heroTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip-track {
    animation: none;
  }
}

.intro,
.services,
.system,
.projects,
.process,
.about,
.blog,
.contact {
  padding: 96px 0;
}

.intro {
  background: var(--soft);
}

.intro-layout,
.system-layout,
.process-layout,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 3.7rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-copy > p,
.system-copy > p,
.about-text p,
.blog article p,
.project-info p,
.process-list p,
.contact-panel p {
  color: var(--muted);
}

.intro-copy > p,
.system-copy > p {
  margin-top: 42px;
  font-size: 1.14rem;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.proof-row div {
  display: grid;
  gap: 10px;
  min-height: 92px;
  align-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(20, 62, 50, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(250, 248, 241, 0.58));
  box-shadow: 0 16px 44px rgba(15, 39, 32, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.proof-row div:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 62, 50, 0.24);
  box-shadow: 0 22px 60px rgba(15, 39, 32, 0.1);
}

.proof-row img {
  width: 100%;
  max-width: 128px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.proof-row span {
  display: block;
}

.proof-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.service-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 260px 1fr 64px;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-row img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-content span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-content p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.service-row > a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
}

.system {
  color: var(--white);
  background: var(--forest);
}

.system-layout {
  align-items: center;
}

.system-media {
  position: relative;
}

.system-media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.media-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(12, 23, 18, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.media-caption::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 42%);
  content: "";
  pointer-events: none;
}

.media-caption strong,
.media-caption span {
  position: relative;
  z-index: 1;
  display: block;
}

.media-caption strong {
  color: #fff;
}

.media-caption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.system-copy > p,
.feature-list p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.feature-list span {
  color: var(--sun);
  font-weight: 900;
}

.feature-list p {
  margin: 0;
}

.projects {
  padding-top: 28px;
  background: var(--soft);
}

.projects-head {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(560px, 680px);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
}

.projects-head h2 {
  max-width: 780px;
  font-size: clamp(2.15rem, 3.15vw, 2.85rem);
  line-height: 1.04;
}

.projects-page .projects-head {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 520px);
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
}

.projects-page h1 {
  max-width: 720px;
  font-size: clamp(2.05rem, 2.65vw, 2.55rem);
  line-height: 1.04;
}

.projects-page .project-stats {
  width: min(100%, 520px);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  justify-self: end;
  align-self: start;
  width: min(100%, 680px);
}

.project-stats span {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(20, 62, 50, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 44px rgba(15, 39, 32, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.18;
}

.project-stats strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.project-shell {
  display: grid;
  gap: 22px;
}

.project-carousel {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: stretch;
}

.project-arrow {
  display: grid;
  place-items: center;
  min-height: 94px;
  border: 1px solid rgba(20, 62, 50, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 236, 0.56));
  color: var(--forest);
  box-shadow: 0 14px 42px rgba(13, 35, 29, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 62, 50, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.project-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.project-controls {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 1px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-controls::-webkit-scrollbar {
  display: none;
}

.project-controls button {
  flex: 0 0 clamp(220px, 24vw, 285px);
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 15px;
  border: 1px solid rgba(20, 62, 50, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 14px 42px rgba(13, 35, 29, 0.06);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 62, 50, 0.28);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 58px rgba(13, 35, 29, 0.11);
}

.project-controls button.active {
  border-color: var(--forest);
  color: var(--white);
  background: linear-gradient(145deg, var(--forest), #195d67);
}

.project-controls button span {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-controls button strong {
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 750;
}

.project-controls button em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
}

.project-controls button.active em {
  color: rgba(255, 255, 255, 0.72);
}

.project-view {
  position: relative;
  height: clamp(390px, 36vw, 470px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.project-view > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity 160ms ease;
}

.project-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(360px, calc(100% - 28px));
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(67, 133, 158, 0.12)),
    rgba(10, 26, 34, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.project-info::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 45%);
  content: "";
  pointer-events: none;
}

.project-info > * {
  position: relative;
  z-index: 1;
}

.project-info > span {
  color: var(--sun);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info h3 {
  margin-top: 6px;
  font-size: 1.05rem;
}

.project-info p {
  color: rgba(255, 255, 255, 0.82);
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.38;
}

.project-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 12px 0 0;
}

.project-info dl div {
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.project-info dt {
  color: var(--sun);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info dd {
  margin: 3px 0 0;
  font-size: 0.88rem;
}

.project-gallery {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  width: min(380px, calc(100% - 395px));
}

.project-gallery button {
  width: 66px;
  height: 50px;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.project-gallery button.active {
  border-color: var(--amber);
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(17, 28, 23, 0.94), rgba(20, 58, 47, 0.78)),
    url("assets/realizace/pribram-barrandov-ii-722kw-2024/foto-01.jpg") center / cover;
}

.process::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 189, 69, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
  content: "";
  pointer-events: none;
}

.process .section-shell {
  position: relative;
  z-index: 1;
}

.process .section-kicker {
  color: var(--sun);
}

.process h2 {
  color: var(--white);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.process-list span {
  color: var(--sun);
  font-weight: 900;
}

.process-list strong {
  color: var(--white);
  font-size: 1.04rem;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.about {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(25, 56, 47, 0.97), rgba(4, 117, 111, 0.9)),
    url("assets/realizace/pribram-firma-27kwp-2024/foto-01.jpg") center / cover;
}

.about-layout {
  grid-template-columns: 0.45fr 1.2fr 0.8fr;
  align-items: center;
}

.about-logo {
  display: inline-flex;
  width: fit-content;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 243, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 52px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-logo img {
  display: block;
  width: 210px;
  height: auto;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.16;
}

.about-text p {
  color: rgba(255, 255, 255, 0.78);
}

.blog {
  background: var(--soft);
}

.blog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: 28px;
  align-items: end;
}

.blog-source {
  padding: 18px 20px;
  border: 1px solid rgba(20, 62, 50, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 50px rgba(13, 35, 29, 0.08);
  backdrop-filter: blur(18px);
}

.blog-source span,
.blog-source strong {
  display: block;
}

.blog-source span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-source strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.blog article {
  overflow: hidden;
  border: 1px solid rgba(20, 62, 50, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 54px rgba(12, 31, 26, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog article:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 62, 50, 0.26);
  box-shadow: 0 26px 70px rgba(12, 31, 26, 0.14);
}

.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.blog article img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.blog-meta,
.blog article h3,
.blog article p {
  display: block;
  margin-right: 20px;
  margin-left: 20px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 20px;
}

.blog article time,
.blog-meta span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.blog-meta span {
  color: var(--muted);
}

.blog article h3 {
  margin-top: 8px;
}

.blog article p {
  margin-top: 10px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.contact {
  padding: 84px 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(252, 192, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #f7f3ea 0%, #edf5f0 100%);
}

.contact-layout {
  grid-template-columns: minmax(300px, 0.78fr) minmax(440px, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1060px;
  padding: 18px;
  border: 1px solid rgba(20, 62, 50, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(239, 247, 242, 0.54)),
    rgba(255, 255, 255, 0.48);
  box-shadow: 0 32px 90px rgba(18, 50, 41, 0.12);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.contact-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(252, 192, 61, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(20, 62, 50, 0.98), rgba(17, 82, 84, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 22px 56px rgba(16, 49, 40, 0.16);
}

.contact-panel h2 {
  max-width: 520px;
  font-size: clamp(2.05rem, 3.1vw, 3.2rem);
  line-height: 1.02;
}

.contact-lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 1rem;
  line-height: 1.55;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 30px;
}

.contact-methods a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--white);
  font-size: 1rem;
  text-align: right;
}

.lead-form {
  display: grid;
  align-self: center;
  gap: 11px;
  width: 100%;
  margin-left: 0;
  padding: 24px;
  border: 1px solid rgba(20, 62, 50, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 253, 247, 0.7)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 62px rgba(18, 50, 41, 0.1);
  backdrop-filter: blur(18px);
}

.spam-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: #21382f;
  font-size: 0.82rem;
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(21, 23, 20, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
}

.lead-form input,
.lead-form select {
  min-height: 44px;
}

.lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(252, 192, 61, 0.55);
  outline-offset: 2px;
  border-color: rgba(20, 62, 50, 0.28);
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.file-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px dashed rgba(20, 62, 50, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  color: var(--forest);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.file-drop:hover {
  border-color: rgba(20, 62, 50, 0.48);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

.file-drop svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.file-help {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.file-help.is-error {
  color: #a63824;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  margin: -2px 0 0;
}

.lead-form .btn {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  font-size: 1rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(252, 192, 61, 0.12), transparent 34%),
    linear-gradient(180deg, #103126 0%, #09130f 100%);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) 0.62fr 0.78fr 0.9fr minmax(210px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 22px;
  max-width: 420px;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 244, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 50px rgba(0, 0, 0, 0.22);
}

.footer-logo img {
  display: block;
  width: 238px;
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  min-width: 245px;
  padding: 13px 15px 13px 18px;
  border: 1px solid rgba(252, 192, 61, 0.38);
  border-radius: var(--radius);
  background: rgba(252, 192, 61, 0.12);
  color: var(--white);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 192, 61, 0.72);
  background: rgba(252, 192, 61, 0.2);
}

.footer-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-nav,
.footer-services,
.footer-regions,
.footer-contact {
  display: grid;
  gap: 11px;
  font-style: normal;
}

.site-footer strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

.footer-services span,
.footer-contact span {
  line-height: 1.5;
}

.footer-regions a {
  line-height: 1.35;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.footer-bottom .footer-stat-link {
  color: inherit;
  text-decoration: none;
}

.footer-bottom .footer-stat-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.stats-page {
  min-height: 100vh;
  padding: 42px 0 52px;
  background:
    radial-gradient(circle at top left, rgba(252, 192, 61, 0.18), transparent 34rem),
    linear-gradient(135deg, #f7f3e9, #eef6f2);
}

.stats-page .article-shell {
  max-width: 940px;
}

.stats-page .section-kicker {
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.stats-page h1 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.stats-page h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.12;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 26px;
}

.stats-grid div,
.stats-table {
  border: 1px solid rgba(20, 49, 41, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(20, 49, 41, 0.06);
}

.stats-grid div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  min-height: 78px;
}

.stats-grid strong {
  color: var(--forest);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.stats-table {
  width: 100%;
  margin: 10px 0 22px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.stats-table th,
.stats-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(20, 49, 41, 0.1);
  text-align: left;
  font-size: 0.92rem;
}

.stats-table th {
  color: var(--forest);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .stats-page {
    padding: 28px 0 38px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(239, 248, 246, 0.68)),
    rgba(251, 248, 240, 0.76);
  box-shadow: 0 24px 70px rgba(10, 28, 24, 0.2);
  backdrop-filter: blur(22px) saturate(1.25);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: rgba(21, 23, 20, 0.68);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions a {
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 0 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 70;
    gap: 6px;
    place-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.54),
      0 12px 34px rgba(15, 39, 32, 0.12);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 242, 0.92)),
      rgba(255, 255, 255, 0.94);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 24px 70px rgba(15, 39, 32, 0.26);
    backdrop-filter: blur(28px) saturate(1.45);
    -webkit-backdrop-filter: blur(28px) saturate(1.45);
  }

  .site-nav a {
    min-height: 46px;
    padding: 12px 14px;
    color: rgba(21, 23, 20, 0.9);
    border: 1px solid rgba(20, 62, 50, 0.08);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    font-size: 0.96rem;
    font-weight: 750;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--forest);
    border-color: rgba(20, 62, 50, 0.14);
    background: rgba(244, 189, 69, 0.28);
  }

  .hero-layout,
  .intro-layout,
  .system-layout,
  .process-layout,
  .about-layout,
  .contact-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 28px;
    padding-bottom: 150px;
  }

  .hero h1 {
    font-size: 3.2rem;
    max-width: 620px;
  }

  h2 {
    font-size: 3rem;
  }

  .energy-dashboard {
    max-width: 430px;
  }

  .hero-strip span {
    min-height: 56px;
  }

  .service-row {
    grid-template-columns: 180px 1fr 54px;
  }

  .project-shell {
    grid-template-columns: 1fr;
  }

  .projects-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .projects-page .projects-head {
    grid-template-columns: 1fr;
  }

  .projects-head h2 {
    max-width: 640px;
    font-size: 2.45rem;
  }

  .projects-page h1 {
    max-width: 720px;
    font-size: 2.45rem;
  }

  .project-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-self: stretch;
    width: 100%;
  }

  .project-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .project-controls button {
    flex-basis: 240px;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }

  .lead-form {
    width: 100%;
    margin-left: 0;
  }

  .blog-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-source {
    max-width: 420px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100vw - 28px, 1180px);
  }

  .site-header {
    inset: 10px 14px auto;
    right: 14px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    width: min(330px, calc(100vw - 28px)) !important;
    max-width: min(330px, calc(100vw - 28px)) !important;
    min-height: 68px;
    padding-right: 66px;
    overflow: hidden;
  }

  .site-header .brand {
    flex: 0 1 auto;
  }

  .site-header .site-nav {
    width: min(330px, calc(100vw - 28px));
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    flex: 0 0 46px;
    transform: translateY(-50%);
  }

  .brand img {
    width: 154px;
  }

  .hero-layout {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr);
    padding-top: 126px;
    padding-bottom: 34px;
  }

  .section-shell,
  .hero-copy {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-copy {
    max-width: 330px;
  }

  .hero h1 {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 0.96rem;
    max-width: 330px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2.2rem;
  }

  .projects-head h2 {
    font-size: 2rem;
  }

  .project-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    gap: 12px;
    padding: 14px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions a,
  .cookie-actions .btn {
    flex: 1 1 auto;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .energy-dashboard {
    display: block;
    width: 100%;
    max-width: 330px;
    margin-top: 10px;
    padding: 12px;
    border-radius: var(--radius);
  }

  .dashboard-header strong {
    font-size: 1rem;
  }

  .dashboard-header > span {
    display: none;
  }

  .dashboard-tabs {
    font-size: 0.8rem;
  }

  .dashboard-weather {
    align-items: center;
  }

  .dashboard-weather time {
    display: none;
  }

  .dashboard-kpis {
    gap: 8px;
  }

  .dashboard-kpis div {
    min-height: 64px;
    padding: 10px;
  }

  .dashboard-kpis strong {
    font-size: 1.22rem;
  }

  .energy-flow {
    height: 286px;
    margin-top: 10px;
  }

  .flow-routes {
    inset: 18px 14px 16px;
    width: calc(100% - 28px);
    height: calc(100% - 34px);
  }

  .route {
    stroke-width: 2.25;
  }

  .flow-item svg,
  .flow-core svg {
    width: 34px;
    height: 34px;
  }

  .flow-value strong {
    font-size: 0.98rem;
  }

  .flow-value {
    gap: 3px;
  }

  .flow-solar {
    top: 38px;
    left: 24px;
  }

  .flow-home {
    top: 38px;
    right: 22px;
  }

  .flow-battery {
    bottom: 30px;
    left: 22px;
  }

  .flow-grid {
    right: 28px;
    bottom: 34px;
  }

  .flow-core {
    top: 128px;
    width: 38px;
    height: 38px;
    margin-left: -19px;
  }

  .dashboard-summary {
    gap: 8px;
  }

  .dashboard-summary div {
    min-height: 70px;
    padding: 10px;
  }

  .dashboard-summary strong {
    font-size: 1.12rem;
  }

  .hero-strip {
    position: relative;
  }

  .hero-strip span {
    min-height: 42px;
    min-width: 210px;
  }

  .intro,
  .services,
  .system,
  .projects,
  .process,
  .about,
  .blog,
  .contact {
    padding: 64px 0;
  }

  .projects {
    padding-top: 38px;
  }

  .proof-row,
  .project-info dl {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-row > a {
    width: 100%;
    height: 48px;
    border-radius: var(--radius);
  }

  .system-media img,
  .project-view,
  .project-view > img {
    min-height: 320px;
  }

  .project-view {
    height: auto;
    overflow: visible;
  }

  .project-view > img {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .project-info {
    position: static;
    width: auto;
    border-radius: 0;
  }

  .project-controls button {
    flex-basis: 214px;
    min-height: 92px;
    padding: 13px;
  }

  .project-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
  }

  .project-arrow {
    min-height: 92px;
  }

  .project-gallery {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    padding: 14px;
    gap: 10px;
    background: rgba(12, 32, 26, 0.96);
  }

  .project-gallery button {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  blockquote p {
    font-size: 1.6rem;
  }

  .about-logo img {
    width: 180px;
  }

  .contact-panel,
  .lead-form {
    padding: 22px;
  }

  .contact-layout {
    gap: 14px;
    padding: 12px;
  }

  .contact-methods a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-methods strong {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-panel h2 {
    font-size: 2.22rem;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-cta {
    width: 100%;
    min-width: 0;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
    margin-top: 34px;
  }
}

.subpage {
  background: var(--soft);
}

.subpage .site-header {
  color: var(--ink);
}

.page-hero {
  position: relative;
  padding: 138px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244, 239, 228, 0.96), rgba(232, 243, 239, 0.9)),
    var(--paper);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p:not(.section-kicker) {
  max-width: 720px;
  color: rgba(21, 23, 20, 0.72);
  font-size: 1.12rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 28, 24, 0.22));
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-section {
  padding: 78px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.split-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.split-section p {
  color: rgba(21, 23, 20, 0.68);
  font-size: 1.08rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 42px rgba(22, 28, 25, 0.07);
}

.detail-list span {
  color: var(--amber);
  font-weight: 900;
}

.detail-list p {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(22, 28, 25, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.seo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(22, 28, 25, 0.14);
}

.seo-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.seo-card span,
.article-source {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seo-card span {
  margin: 18px 18px 0;
}

.seo-card h2 {
  margin: 8px 18px 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.seo-card p {
  margin: 10px 18px 20px;
  color: rgba(21, 23, 20, 0.66);
}

.region-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.region-locations span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(20, 62, 50, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(21, 23, 20, 0.72);
  font-size: 0.86rem;
  font-weight: 750;
}

.region-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.region-service-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(244, 250, 246, 0.58)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(22, 28, 25, 0.07);
}

.region-service-card span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.region-service-card h2 {
  margin: 8px 0 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.region-service-card p {
  margin: 10px 0 0;
  color: rgba(21, 23, 20, 0.66);
}

.region-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-crosslinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(20, 62, 50, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  font-weight: 750;
}

.projects-page {
  padding-top: 138px;
}

.page-contact {
  padding-top: 78px;
}

.article-shell {
  max-width: 820px;
}

.article-shell time {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--amber);
  font-weight: 900;
}

.article-shell p {
  color: rgba(21, 23, 20, 0.72);
  font-size: 1.12rem;
}

.breadcrumbs {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--forest);
  font-weight: 900;
}

.article-source {
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  text-transform: none;
}

.article-source a {
  color: var(--forest);
  text-decoration: underline;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 36%),
    var(--soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 128px;
}

.faq-intro h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.faq-intro p {
  max-width: 500px;
  color: rgba(21, 23, 20, 0.68);
  font-size: 1.06rem;
}

.faq-intro .btn {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(20, 62, 50, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 250, 246, 0.56)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(22, 28, 25, 0.07);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 62, 50, 0.16);
  border-radius: 50%;
  color: var(--forest);
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.52);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(21, 23, 20, 0.68);
  font-size: 1rem;
  line-height: 1.62;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.42);
  color: var(--teal);
}

@media (min-width: 981px) and (max-width: 1240px) {
  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 170px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 10px 9px;
    font-size: 0.86rem;
  }

  .header-phone {
    padding: 0 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 980px) {
  .page-hero-grid,
  .split-section,
  .service-grid,
  .region-service-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .page-hero {
    padding-top: 112px;
  }

  .page-hero-media,
  .page-hero-media img {
    min-height: 320px;
  }

  .service-grid {
    gap: 14px;
  }

  .region-service-grid {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .page-hero h1,
  .split-section h2,
  .projects-page h1 {
    font-size: 2.25rem;
  }

  .page-section {
    padding: 54px 0;
  }

  .detail-list li {
    grid-template-columns: 1fr;
  }
}

body.subpage section.projects.projects-page .section-head.projects-head {
  display: grid !important;
  max-width: none !important;
  grid-template-columns: minmax(620px, 1fr) minmax(360px, 440px) !important;
  gap: 22px !important;
  align-items: start !important;
  margin-bottom: 14px !important;
}

body.subpage section.projects.projects-page .section-head.projects-head > div:first-child {
  width: 100% !important;
  max-width: none !important;
}

body.subpage section.projects.projects-page .section-head.projects-head h1 {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 !important;
  font-size: clamp(2.2rem, 2.75vw, 2.7rem) !important;
  line-height: 1.03 !important;
}

body.subpage section.projects.projects-page .section-head.projects-head .project-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: min(100%, 440px) !important;
  justify-self: end !important;
}

body.subpage section.projects.projects-page .section-head.projects-head .project-stats span {
  min-height: 46px !important;
  padding: 7px 10px !important;
}

@media (max-width: 1120px) {
  body.subpage section.projects.projects-page .section-head.projects-head {
    grid-template-columns: 1fr !important;
  }

  body.subpage section.projects.projects-page .section-head.projects-head h1 {
    width: 100% !important;
    max-width: 760px !important;
  }

  body.subpage section.projects.projects-page .section-head.projects-head .project-stats {
    width: 100% !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    overflow: visible !important;
    z-index: 1000 !important;
  }

  .nav-toggle {
    z-index: 1002 !important;
    cursor: pointer !important;
  }

  .site-header .site-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 10px !important;
    left: 10px !important;
    z-index: 1001 !important;
    display: none !important;
    width: auto !important;
    max-height: calc(100vh - 120px) !important;
    overflow: auto !important;
  }

  .site-header .site-nav.is-open,
  .site-header.nav-open .site-nav,
  body.nav-open .site-header .site-nav {
    display: flex !important;
  }

  .site-header.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}
