:root {
  --ink: #10251d;
  --leaf: #135c38;
  --leaf-bright: #8cc63f;
  --sun: #f7b733;
  --paper: #fbfaf4;
  --theme-a: #0e3c2a;
  --theme-b: #1a6a42;
  --theme-c: #f7b733;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

body.theme-technical { --theme-a: #183a44; --theme-b: #27736c; --theme-c: #f2c14e; }
body.theme-gallery { --theme-a: #2b3324; --theme-b: #7b8c33; --theme-c: #ffb84c; }
body.theme-local { --theme-a: #123049; --theme-b: #2d7d58; --theme-c: #f5c451; }
body.theme-dark { --theme-a: #07110e; --theme-b: #16452f; --theme-c: #86d66b; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(12,24,22,.78);
  color: #fff;
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--leaf);
  font-size: 23px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.brand b, .brand small { display: block; }
.brand b {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.brand small {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
}
.topbar nav {
  display: flex;
  margin-left: auto;
  gap: 28px;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.call-btn {
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 950;
}
.menu-btn { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 30px; }
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  display: grid;
  align-content: start;
  width: min(82vw, 340px);
  gap: 0;
  background: #10251d;
  padding: 20px;
  color: #fff;
  box-shadow: -24px 0 80px rgba(0,0,0,.35);
}
.mobile-menu[hidden] {
  display: none !important;
}
.mobile-menu button {
  justify-self: end;
  border: 0;
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
}
.mobile-menu a {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding-top: 112px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(247, 183, 51, .32), transparent 28%),
    linear-gradient(135deg, var(--theme-a), var(--theme-b));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0,0,0,.28), transparent);
  pointer-events: none;
}
.solar-orbit {
  position: absolute;
  right: min(8vw, 110px);
  top: 130px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}
.solar-orbit::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--theme-c);
  box-shadow: 0 0 60px rgba(247,183,51,.65);
}
.panel-rain {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.8) 47% 48%, transparent 49%),
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 120px 120px, 44px 44px;
  animation: drift 16s linear infinite;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  gap: 44px;
  padding: 40px clamp(16px, 4vw, 48px) 80px;
}
.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  padding: 10px 16px;
  color: #f7d56f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
h1 {
  max-width: 820px;
  margin: 28px 0 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -1px;
}
.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions, .trust-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 32px; }
.primary, .secondary {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 950;
}
.primary { background: var(--sun); color: var(--ink); box-shadow: 0 22px 50px rgba(0,0,0,.2); }
.secondary { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; }
.trust-row { margin-top: 30px; color: rgba(255,255,255,.78); font-size: 14px; }
.sample-tabs { display: grid; gap: 10px; }
.sample-tabs button {
  display: grid;
  gap: 4px;
  min-height: 74px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.sample-tabs button:hover, .sample-tabs button.is-active {
  transform: translateX(4px);
  border-color: rgba(247,183,51,.7);
  background: rgba(247,183,51,.17);
}
.sample-tabs b { font-size: 14px; }
.sample-tabs span { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.45; }
.hero-card {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 32px 90px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
  animation: floatCard 4.8s ease-in-out infinite;
}
.hero-card-image {
  aspect-ratio: 1.6;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.hero-card-image img { width: 100%; height: 100%; object-fit: cover; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}
.mini-stats div { border-radius: 18px; background: rgba(255,255,255,.1); padding: 16px; }
.mini-stats small { display: block; color: #f7d56f; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.mini-stats b { display: block; margin-top: 8px; font-size: 18px; }
.mini-stats span { color: rgba(255,255,255,.62); font-size: 13px; overflow-wrap: anywhere; }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px clamp(16px, 4vw, 48px);
}
.services-section { max-width: none; background: #fbfaf4; }
.services-section > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.kicker {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.5px;
}
.section-head > a {
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.service-card {
  min-height: 238px;
  border: 1px solid rgba(16,37,29,.08);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(33,65,52,.08);
  animation: rise .5s ease both;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140,198,63,.45);
  box-shadow: 0 28px 70px rgba(33,65,52,.14);
}
.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #eaf5d9;
  color: var(--leaf);
  font-size: 22px;
}
.service-card h3 { margin: 22px 0 10px; font-size: 21px; }
.service-card p { margin: 0; color: rgba(16,37,29,.62); line-height: 1.7; }
.vision-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
  background:
    radial-gradient(circle at 92% 12%, rgba(247,183,51,.18), transparent 24%),
    linear-gradient(135deg, #f6f1de, #ffffff);
}
.vision-intro {
  position: sticky;
  top: 110px;
}
.vision-intro p {
  margin: 18px 0 0;
  color: rgba(16,37,29,.66);
  font-size: 17px;
  line-height: 1.75;
}
.vision-grid {
  display: grid;
  gap: 14px;
}
.vision-grid article {
  border: 1px solid rgba(16,37,29,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  padding: 24px;
  box-shadow: 0 18px 42px rgba(33,65,52,.08);
}
.vision-grid span {
  color: var(--sun);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
}
.vision-grid h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}
.vision-grid p {
  margin: 0;
  color: rgba(16,37,29,.62);
  line-height: 1.7;
}
.gallery-section { background: #fff; max-width: none; }
.gallery-section > .kicker, .gallery-section > h2, .gallery-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.gallery-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #e9eee7;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.74), transparent);
}
.gallery-card b { display: block; font-size: 17px; }
.gallery-card span { display: block; margin-top: 6px; color: rgba(255,255,255,.78); font-size: 12px; }
.coverage {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  padding: 86px clamp(16px, 4vw, 48px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8,18,14,.94), rgba(19,92,56,.9)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.coverage > * { max-width: 620px; }
.coverage .kicker { color: #f7d56f; }
.coverage p { color: rgba(255,255,255,.68); line-height: 1.75; }
.city-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.city-grid span, .contact-grid a, .contact-grid span {
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  padding: 14px;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 850;
}
.contact-panel {
  justify-self: end;
  max-width: 620px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  padding: 28px;
  backdrop-filter: blur(14px);
}
.contact-panel h3 { margin: 0; font-size: 28px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(16px, 4vw, 48px);
  background: #08120e;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes drift { to { background-position: 240px 120px, 88px 44px; } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .topbar nav, .call-btn { display: none; }
  .menu-btn { display: block; }
  .hero-inner, .coverage, .vision-section { grid-template-columns: 1fr; }
  .hero-side { max-width: 680px; }
  .vision-intro { position: static; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { justify-self: stretch; }
}
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .topbar {
    gap: 10px;
    padding: 12px 14px;
  }
  .brand b { max-width: 220px; font-size: 13px; }
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .hero {
    min-height: auto;
    padding-top: 86px;
  }
  .hero-inner {
    gap: 26px;
    padding: 34px 16px 54px;
  }
  h1 {
    font-size: clamp(42px, 14vw, 58px);
    line-height: 1.02;
  }
  h2 {
    font-size: clamp(31px, 10vw, 42px);
  }
  .eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
  .hero-copy p {
    font-size: 16px;
    line-height: 1.65;
  }
  .solar-orbit { right: -120px; top: 100px; }
  .hero-actions { flex-direction: column; }
  .primary, .secondary { width: 100%; }
  .sample-tabs {
    display: none;
  }
  .hero-card {
    margin-top: 0;
    border-radius: 18px;
  }
  .section {
    padding: 58px 16px;
  }
  .mini-stats, .service-grid, .city-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card {
    min-height: auto;
    padding: 20px;
  }
  .vision-grid article {
    padding: 20px;
  }
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .gallery-card { min-width: 82vw; min-height: 280px; scroll-snap-align: start; }
  .section-head { display: block; }
  .coverage {
    padding: 58px 16px;
  }
  footer { flex-direction: column; }
}
