:root {
  --ink: #0f1a1c;
  --ink-light: #1b2b2f;
  --sand: #f5f0e7;
  --stone: #e7e0d4;
  --accent: #cc6b2c;
  --accent-soft: #f2b488;
  --accent-haze: rgba(204, 107, 44, 0.08);
  --accent-wash: rgba(204, 107, 44, 0.12);
  --mint: #c9e4d2;
  --surface: #ffffff;
  --sand-bg: rgba(245, 240, 231, 0.86);
  --stone-bg: rgba(231, 224, 212, 0.86);
  --shadow: 0 30px 60px rgba(15, 26, 28, 0.15);
  --shadow-soft: 0 18px 40px rgba(15, 26, 28, 0.08);
  --shadow-card: 0 16px 32px rgba(15, 26, 28, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --page-bg: radial-gradient(circle at top, #f7f3ec 0%, #f1ece3 45%, #e8e2d8 100%);
  --header-bg: rgba(247, 243, 236, 0.92);
  --header-border: rgba(15, 26, 28, 0.08);
  --outline: rgba(15, 26, 28, 0.2);
  --card-gradient: linear-gradient(140deg, #ffffff 0%, #f8f2e8 100%);
  --card-border: rgba(15, 26, 28, 0.08);
  --hero-image-overlay: linear-gradient(120deg, rgba(15, 26, 28, 0.75), rgba(15, 26, 28, 0));
  --slide-caption-bg: rgba(15, 26, 28, 0.7);
  --map-placeholder-bg: #1f2a2e;
  --border-subtle: rgba(15, 26, 28, 0.1);
  --current-line: rgba(15, 26, 28, 0.22);
  --current-glow: rgba(204, 107, 44, 0.22);
}

:root[data-theme="dark"] {
  --ink: #e9f0ee;
  --ink-light: #b2c1bf;
  --sand: #0f1416;
  --stone: #1a2326;
  --accent: #f29a4a;
  --accent-soft: #6a4024;
  --accent-haze: rgba(242, 154, 74, 0.12);
  --accent-wash: rgba(242, 154, 74, 0.2);
  --mint: #1b3b35;
  --surface: #161f22;
  --sand-bg: rgba(15, 20, 22, 0.86);
  --stone-bg: rgba(26, 35, 38, 0.86);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 16px 32px rgba(0, 0, 0, 0.4);
  --page-bg: radial-gradient(circle at top, #1a2326 0%, #141c1f 50%, #0f1416 100%);
  --header-bg: rgba(13, 18, 20, 0.92);
  --header-border: rgba(255, 255, 255, 0.08);
  --outline: rgba(233, 240, 238, 0.25);
  --card-gradient: linear-gradient(160deg, #1b2629 0%, #12181a 100%);
  --card-border: rgba(255, 255, 255, 0.08);
  --hero-image-overlay: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  --slide-caption-bg: rgba(0, 0, 0, 0.6);
  --map-placeholder-bg: #0e1214;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --current-line: rgba(233, 240, 238, 0.22);
  --current-glow: rgba(242, 154, 74, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.5;
}

.current-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: normal;
}

.current-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.current-plug {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 48px;
  height: 48px;
  color: var(--ink);
}

.current-plug svg {
  width: 100%;
  height: 100%;
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-current-plugged="true"] .current-plug {
  opacity: 0.9;
  transform: translate(-50%, 0);
}

#app {
  position: relative;
  z-index: 1;
}

[v-cloak] {
  display: none;
}

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

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

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--ink-light);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--outline);
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle .theme-label {
  font-size: 0.8rem;
  color: var(--ink-light);
  white-space: nowrap;
}

.lamp-icon {
  width: 32px;
  height: 32px;
}

.lamp-wire path,
.lamp-cap path,
.lamp-shade path,
.lamp-rays path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lamp-cap path,
.lamp-shade path,
.lamp-base rect {
  fill: var(--surface);
}

.lamp-bulb circle {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.lamp-base rect {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.lamp-glow {
  fill: var(--accent);
  opacity: 0.25;
}

.theme-toggle.is-dark .lamp-glow,
.theme-toggle.is-dark .lamp-rays {
  opacity: 0;
}

.theme-toggle.is-dark .lamp-bulb circle {
  fill: #364246;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 25px rgba(204, 107, 44, 0.3);
}

.btn.secondary {
  background: var(--ink);
  color: #fff;
}

.btn.ghost {
  border-color: var(--outline);
  background: transparent;
}

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

.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--accent-haze), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 3.4vw, 3.6rem);
  margin-bottom: 16px;
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-light);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

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

.hero-badges h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.hero-card {
  position: relative;
  background: var(--card-gradient);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-wash), transparent 55%);
  pointer-events: none;
}

.hero-card-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-light);
}

.hero-card ul li {
  position: relative;
  padding-left: 18px;
}

.hero-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-image {
  height: 280px;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-header h2 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-header p {
  color: var(--ink-light);
}

.brands {
  padding-top: 40px;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  opacity: 0.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-wash);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.process {
  background: var(--sand-bg);
}

.energy-tool {
  background: var(--stone-bg);
}

.energy-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.energy-tool-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  overflow: visible;
  width: 100%;
}

.energy-tool-lead {
  color: var(--ink-light);
}

.energy-tool-price {
  display: grid;
  gap: 8px;
  max-width: 240px;
}

.energy-tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.energy-tool-lead {
  grid-column: 1 / -1;
}

.energy-tool-price input {
  width: 100%;
}

.energy-tool-price label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
}

.energy-tool-price input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  width: 100%;
}

.energy-tool-title {
  margin: 0;
  font-size: 1rem;
}

.energy-tool-table {
  display: grid;
  gap: 12px;
}

.energy-device {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--card-border);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.energy-device summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  flex-wrap: wrap;
}

.energy-device summary::-webkit-details-marker {
  display: none;
}

.energy-device-summary {
  display: grid;
  gap: 4px;
}

.energy-device-name {
  font-weight: 600;
}

.energy-device-meta {
  font-size: 0.85rem;
  color: var(--ink-light);
}

.energy-device-body {
  margin-top: 12px;
}

.energy-device-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.energy-field {
  display: grid;
  gap: 6px;
}

.energy-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
}

.energy-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  font-family: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--ink);
  width: 100%;
}

.energy-select {
  position: relative;
}

.energy-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  z-index: 5;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  display: grid;
  gap: 6px;
  min-width: 100%;
}

.energy-select-option {
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  color: var(--ink);
}

.energy-select-option small {
  color: var(--ink-light);
  font-size: 0.78rem;
}

.energy-select-option:hover,
.energy-select-option:focus-visible {
  background: var(--accent-wash);
  outline: none;
}

.energy-tool-remove {
  border: none;
  background: var(--stone);
  color: var(--ink);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}

.energy-tool-add {
  width: fit-content;
}

.energy-tool-aside {
  display: grid;
  gap: 18px;
}

.energy-tool-results {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.energy-tool-result-label {
  color: var(--ink-light);
  font-size: 0.9rem;
}

.energy-tool-result-value {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: var(--accent);
}

.energy-tool-result-value span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
}

.energy-tool-cta {
  background: var(--card-gradient);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.energy-tool-cta h3 {
  margin: 0;
  font-size: 1.2rem;
}

.energy-tool-cta p {
  color: var(--ink-light);
}

.energy-tool-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  background: var(--stone-bg);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.metric-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
  display: grid;
  gap: 10px;
  min-height: 120px;
  text-align: center;
  align-items: center;
  justify-items: center;
}

.metric-value {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.metric-label {
  color: var(--ink-light);
  font-size: 0.95rem;
}

.process-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--stone);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
}

.process-tabs button {
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.process-tabs button.active {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  margin-bottom: 12px;
  font-weight: 600;
}


.projects .swiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  height: 360px;
  width: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--slide-caption-bg);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.contact {
  background: var(--sand-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.address-block {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.address-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ink-light);
}

.address-text {
  font-weight: 500;
}

.text-link {
  color: var(--accent);
  font-weight: 500;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 22px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.contact-card span {
  color: var(--ink-light);
  font-size: 0.85rem;
  display: inline-block;
  margin-right: 8px;
}

.map-wrapper {
  margin-top: 28px;
}

.map-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map {
  width: 100%;
  height: 360px;
}

.map.map-placeholder {
  display: grid;
  place-items: center;
  background: var(--map-placeholder-bg);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  padding: 24px;
}

.site-footer {
  padding: 40px 0 80px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.footer-logo img {
  width: 240px;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo img:hover,
.footer-logo img:focus-visible,
.footer-logo img:active {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-light);
  justify-content: center;
}

.footer-note {
  color: var(--ink-light);
  font-size: 0.85rem;
}

.footer-credit {
  color: var(--ink-light);
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  text-decoration: underline;
}

.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.sticky-cta a {
  color: #fff;
  font-weight: 500;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .btn,
  .site-nav a::after {
    transition: none;
  }
}

@media (max-width: 960px) {
  .header-grid {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

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

  .hero-cta {
    flex-direction: row;
    align-items: center;
  }

  .energy-tool-price {
    max-width: 100%;
  }

  .energy-tool-grid {
    grid-template-columns: 1fr;
  }

  .energy-device-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .sticky-cta {
    display: flex;
  }
}

@media (max-width: 720px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .theme-toggle {
    padding: 6px;
  }

  .theme-toggle .theme-label {
    display: none;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .energy-device-fields {
    grid-template-columns: 1fr;
  }

  .energy-device summary {
    align-items: flex-start;
  }

  .energy-device {
    padding: 10px 12px;
  }

  .energy-device-meta {
    font-size: 0.8rem;
  }

  .energy-tool-grid {
    grid-template-columns: 1fr;
  }

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

  .energy-tool-card {
    padding: 18px;
  }

  .energy-tool-results,
  .energy-tool-cta {
    padding: 18px;
  }


  .swiper-slide img {
    height: 260px;
  }

  .map {
    height: 260px;
  }

  .metric-card {
    min-height: 110px;
  }
}
