@font-face {
  font-family: "Kanit SB";
  src: url(../fonts/Kanit/Kanit-SemiBold.ttf) format("truetype");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Kanit Regular";
  src: url(../fonts/Kanit/Kanit-Regular.ttf) format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Monsterrat Reg";
  src: url(../fonts/Montserrat/Montserrat-Regular.ttf) format("truetype");
  font-display: swap;
  font-weight: 400;
}

:root {
  --red: #bf172a;
  --red-dark: #941122;
  --green: #00a979;
  --green-soft: #c9ddc4;
  --ink: #2d2d3b;
  --muted: #737782;
  --line: #d7d9dd;
  --paper: #ffffff;
  --soft: #f4f5f4;
  --steel: #bfc5c9;
  --shadow: 0 24px 70px rgba(45, 45, 59, 0.14);
  --font-body: "Monsterrat Reg", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Kanit SB", "Kanit", "Helvetica Neue", Arial, sans-serif;
  --font-regular: "Kanit Regular", "Kanit", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  padding: 0;
}

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

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

strong {
  font-family: var(--font-heading);
  font-weight: 800;
}

.page-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(24px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-text {
  display: grid;
  gap: 0;
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text span {
  text-transform: none;
}

.brand-text strong {
  color: var(--red-dark);
}

.brand-mark {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: var(--red);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
}

.brand-mark::before {
  position: absolute;
  inset: 13px 10px 9px;
  content: "";
  background: var(--paper);
  clip-path: polygon(0 26%, 50% 0, 100% 26%, 100% 100%, 0 100%);
}

.brand-mark span {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 10px;
  height: 4px;
  background: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: #545763;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 400;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--paper);
  background: #06392f;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 169, 121, 0.96), rgba(0, 169, 121, 0.78)),
    url("/assets-debrecen/hero-industrial.webp") center / cover no-repeat;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  content: "";
  background: var(--paper);
  clip-path: polygon(0 68%, 100% 32%, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.58fr);
  align-items: end;
  gap: 56px;
  min-height: 690px;
  padding: 118px 0 96px;
}

.intro-line {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.1rem;
}

.intro-line::before,
.eyebrow::before {
  width: 82px;
  height: 3px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 4.25rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 10px 20px 10px 20px;
  background: #303041;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-tag img {
  width: 46px;
  height: 68px;
  margin: -20px 0 -22px -1px;
  object-fit: contain;
}

.hero-summary {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

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

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
}

.action-button.primary,
.action-button.red {
  background: var(--red);
  color: var(--paper);
}

.action-button.primary:hover,
.action-button.primary:focus-visible,
.action-button.red:hover,
.action-button.red:focus-visible {
  background: var(--red-dark);
}

.action-button.light {
  background: var(--paper);
  color: var(--red-dark);
}

.action-button.outline,
.action-button.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--paper);
}

.action-button.ghost {
  border-color: var(--red);
  color: var(--red);
}

.action-button.outline:hover,
.action-button.outline:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.action-button.ghost:hover,
.action-button.ghost:focus-visible {
  background: var(--red);
  color: var(--paper);
}

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

.hero-stats div,
.spec-grid article,
.plan-metrics div,
.energy-grid article,
.partner-list a {
  border-radius: 8px;
}

.hero-stats div {
  min-height: 118px;
  padding: 20px;
  background: rgba(48, 48, 65, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0;
  color: var(--paper);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.availability-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.band-inner p {
  margin: 0;
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 800;
}

.band-inner strong {
  color: var(--ink);
  font-size: 1rem;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.energy-content h2 {
  max-width: 840px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 2.8rem;
  line-height: 1.08;
}

.location-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 56%, var(--soft) 56%, var(--soft) 100%);
}

.seo-section {
  padding: 82px 0 90px;
  background: var(--paper);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

.seo-heading h2 {
  max-width: 560px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1.08;
}

.seo-lead {
  max-width: 560px;
  margin-bottom: 0;
  color: #3c3f48;
  font-size: 1.16rem;
}

.seo-copy {
  display: grid;
  gap: 24px;
  color: #2d2f38;
  font-size: 1.06rem;
}

.seo-copy p {
  margin-bottom: 0;
}

.seo-key-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-key-list li {
  min-height: 68px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.video-section {
  /*background: var(--soft);*/
  border-bottom: 1px solid var(--line);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
}

.video-copy {
  display: grid;
  gap: 20px;
}

.video-copy h3 {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.16;
}

.video-copy p {
  max-width: 460px;
  margin-bottom: 0;
  color: #3c3f48;
  font-size: 1.06rem;
}

.interaction-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.interaction-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 18px;
  border-left: 4px solid var(--red);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-heading);
  border-radius: 8px;
}

.interaction-list a:hover,
.interaction-list a:focus-visible {
  color: var(--red-dark);
  background: #eceeed;
}

.video-card {
  margin: 0;
  overflow: hidden;
  background: #20222b;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101119;
}

.video-card figcaption {
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.76);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 34px;
}

.identity-list {
  display: grid;
  gap: 26px;
  align-content: start;
  padding-top: 28px;
}

.identity-list div {
  display: grid;
  gap: 5px;
}

.identity-list span,
.nearby-row span,
.spec-grid span,
.plan-metrics span {
  color: #9a9da5;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: uppercase;
}

.identity-list strong {
  font-size: 2rem;
  line-height: 1.1;
}

.map-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #e7e8e8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-panel img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: 1;
}

.city-copy {
  grid-column: 2;
  max-width: 760px;
  padding: 34px 0 0;
}

.city-copy h3,
.partner-block h3,
.nearby-companies h3 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.18;
}

.bullet-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #292a32;
  font-size: 1.12rem;
}

.bullet-list li {
  position: relative;
  padding-left: 30px;
}

.bullet-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--red);
}

.ecosystem-section {
  background: var(--paper);
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.partner-block {
  padding-top: 16px;
}

.partner-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 2.1rem;
  font-weight: 800;
}

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

.partner-list a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--soft);
  border-left: 4px solid var(--red);
}

.partner-list a:hover,
.partner-list a:focus-visible {
  background: #eceeed;
}

.partner-list span {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.partner-list small {
  color: var(--muted);
  font-size: 0.96rem;
}

.proximity-figure {
  margin: 0;
  overflow: hidden;
  background: #303041;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proximity-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.proximity-figure figcaption {
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.76);
}

.nearby-companies {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 16px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.nearby-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.nearby-row strong {
  color: #1f2029;
  font-size: 1.35rem;
}

.nearby-row em {
  min-width: 96px;
  color: #4a4a66;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 900;
  text-align: right;
}

.spaces-section {
  background: var(--soft);
}

.spaces-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.main-render {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.main-render .gallery-item,
.gallery-strip .gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--paper);
  cursor: zoom-in;
}

.main-render .gallery-item {
  background: #20222b;
}

.main-render img {
  width: 100%;
  aspect-ratio: 18 / 7;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.main-render figcaption {
  padding: 12px 16px;
  text-transform: uppercase;
}

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

.spec-grid article {
  min-height: 142px;
  padding: 24px;
  background: var(--paper);
  border-top: 3px solid var(--red);
}

.spec-grid article:first-child,
.spec-grid article:nth-child(2) {
  min-height: 170px;
}

.spec-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 2.3rem;
  line-height: 1;
}

.spec-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.gallery-strip {
  display: grid;
  gap: 14px;
}

.gallery-strip .gallery-item {
  border-radius: 8px;
  background: #20222b;
}

.gallery-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, rgba(45, 45, 59, 0.04), rgba(45, 45, 59, 0.42));
  transition: opacity 260ms ease;
  pointer-events: none;
}

.zoom-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  background: rgba(45, 45, 59, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after,
.gallery-item:hover .zoom-label,
.gallery-item:focus-visible .zoom-label {
  opacity: 1;
}

.gallery-item:hover .zoom-label,
.gallery-item:focus-visible .zoom-label {
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

@media (hover: none) {
  .zoom-label {
    opacity: 1;
    transform: none;
  }
}

.plan-section {
  background: var(--paper);
}

.plans-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.plan-metrics {
  display: grid;
  gap: 14px;
}

.plan-metrics div {
  padding: 22px;
  background: #f1f3ee;
  border-left: 10px solid var(--green-soft);
}

.plan-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.05;
}

.site-plan,
.engineering-plan {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-plan img {
  width: 100%;
  object-fit: cover;
}

.engineering-plan {
  grid-column: 1 / -1;
}

.engineering-plan img {
  width: 100%;
  aspect-ratio: 14 / 3.6;
  object-fit: cover;
}

.engineering-plan figcaption {
  padding: 12px 16px;
}

.energy-section {
  padding-top: 0;
  background:
    linear-gradient(180deg, var(--paper) 0, var(--paper) 120px, var(--green) 120px, var(--green) 60%, var(--green-soft) 60%);
}

.energy-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  width: 100%;
}

.energy-hero-background {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.energy-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 169, 121, 0.88) 72%);
}

.energy-hero > div {
  position: absolute;
  top: 92px;
  left: max(24px, calc((100% - 1120px) / 2));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 620px;
  color: #0f1018;
  font-size: 1.6rem;
  line-height: 1.18;
}

.solar-icon {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  object-fit: contain;
}

.energy-hero p,
.energy-hero strong {
  display: block;
  margin: 0;
}

.energy-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 50px;
  margin-top: -86px;
  padding: 70px 72px 78px;
  background: var(--green-soft);
}

.energy-content .eyebrow {
  color: var(--green);
}

.energy-content h2 {
  color: var(--green);
}

.energy-grid {
  display: grid;
  gap: 28px;
}

.energy-grid article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 104px;
}

.energy-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.energy-grid p {
  margin: 4px 0 0;
  color: #20222b;
  font-size: 1.04rem;
}

.utility-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--green-soft) 0, var(--green-soft) 18%, #2f3040 18%, #2f3040 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  padding-top: 42px;
  color: var(--paper);
}

.contact-copy .eyebrow,
.contact-copy h2 {
  color: var(--paper);
}

.contact-copy h2 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 2.65rem;
  line-height: 1.08;
}

.contact-copy p {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-actions strong {
  color: var(--paper);
  font-size: 1.14rem;
  line-height: 1.2;
  word-break: break-word;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.lead-form label > span {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
  color: var(--ink);
  font: inherit;
}

.lead-form input {
  min-height: 50px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(191, 23, 42, 0.18);
  border-color: var(--red);
}

.lead-form .is-invalid {
  border-color: var(--red);
}

.lead-form small {
  display: none;
  color: var(--red);
  font-size: 0.84rem;
}

.captcha-row {
  display: grid;
  gap: 10px;
}

.captcha-row .g-recaptcha {
  transform-origin: left top;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  background: #2f3040;
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.footer-brand .brand-text {
  color: var(--paper);
}

.footer-brand .brand-text strong {
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 24px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 36px;
    padding-top: 90px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .location-layout,
  .ecosystem-layout,
  .seo-layout,
  .video-layout,
  .spaces-layout,
  .plans-layout,
  .energy-content,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .identity-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 0;
  }

  .city-copy,
  .engineering-plan {
    grid-column: auto;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-strip img {
    height: 220px;
  }

  .energy-content {
    padding: 54px 42px 60px;
  }

  .contact-copy {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .page-grid,
  .section-heading {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 0;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  .hero,
  .hero-inner {
    min-height: 820px;
  }

  .hero-inner {
    padding: 72px 0 78px;
  }

  .intro-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-stats,
  .spec-grid,
  .identity-list,
  .seo-key-list,
  .form-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 96px;
  }

  .band-inner,
  .footer-inner {
    align-items: flex-start;
    /*flex-direction: column;*/
  }

  .band-inner {
    flex-direction: column;
  }

  .band-actions,
  .hero-actions {
    width: 100%;
  }

  .action-button {
    width: 100%;
  }

  .site-footer{
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .energy-content h2 {
    font-size: 2.1rem;
  }

  .map-panel,
  .map-panel img {
    min-height: 390px;
  }

  .nearby-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .nearby-row em {
    min-width: 0;
    text-align: left;
  }

  .main-render img {
    aspect-ratio: 4 / 3;
  }

  .spec-grid strong {
    font-size: 2rem;
  }

  .gallery-strip img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .plan-metrics strong {
    font-size: 1.45rem;
  }

  .energy-section {
    background:
      linear-gradient(180deg, var(--paper) 0, var(--paper) 96px, var(--green) 96px, var(--green) 55%, var(--green-soft) 55%);
  }

  .energy-hero,
  .energy-hero-background {
    min-height: 560px;
    height: 560px;
  }

  .energy-hero > div {
    top: 76px;
    left: 16px;
    right: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    font-size: 1.35rem;
  }

  .energy-content {
    margin-top: -120px;
    padding: 42px 24px 48px;
  }

  .energy-grid article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-section {
    background: #2f3040;
  }

  .contact-copy h2 {
    font-size: 2.1rem;
  }

  .lead-form {
    padding: 22px 18px;
  }

  .captcha-row .g-recaptcha {
    transform: scale(0.88);
  }
}

@media (max-width: 440px) {
  .nav-links {
    gap: 14px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .location-tag {
    font-size: 0.88rem;
  }

  .hero-summary,
  .bullet-list {
    font-size: 1rem;
  }

  .hero-stats dd {
    font-size: 1.7rem;
  }

  .identity-list strong {
    font-size: 1.5rem;
  }
}
