:root {
  --ink: #111418;
  --muted: #626a73;
  --line: rgba(17, 20, 24, 0.12);
  --soft: #f6f4ef;
  --paper: #fbfaf7;
  --white: #ffffff;
  --green: #0d6f55;
  --green-dark: #084234;
  --navy: #06215a;
  --blue: #2e6f9e;
  --copper: #b8834f;
  --shadow: 0 24px 80px rgba(27, 35, 45, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior-y: none;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background: rgba(6, 33, 90, 0.78);
  box-shadow: 0 10px 30px rgba(6, 33, 90, 0.16);
  backdrop-filter: blur(18px);
  padding-top: 12px;
  padding-bottom: 12px;
}

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

.brand img {
  width: 162px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.18));
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solid-button,
.ghost-button,
.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.solid-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(13, 111, 85, 0.22);
}

.solid-button:hover {
  background: var(--green-dark);
}

.hero-primary {
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(6, 33, 90, 0.28);
}

.hero-primary:hover {
  background: #0a2d76;
}

.solid-button:hover,
.ghost-button:hover,
.glass-button:hover,
.service-card a:hover {
  transform: translateY(-1px);
}

.ghost-button {
  border-color: currentColor;
  background: transparent;
}

.glass-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.large {
  min-height: 48px;
  padding-inline: 24px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: -1.5% -1.5%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroPan 28s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 20, 0.24), rgba(6, 12, 20, 0.22) 44%, rgba(6, 12, 20, 0.54)),
    linear-gradient(90deg, rgba(6, 12, 20, 0.32), rgba(6, 12, 20, 0.06) 58%, rgba(6, 12, 20, 0.02));
}

.sky-drift,
.solar-reflection {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sky-drift {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(105deg, transparent 12%, rgba(255, 255, 255, 0.08) 32%, transparent 54%);
  mix-blend-mode: screen;
  opacity: 0.65;
  animation: skyDrift 24s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

.solar-reflection {
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.28) 47%, transparent 58%);
  opacity: 0;
  transform: translateX(-34%);
  animation: panelGlint 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(720px, calc(100% - 36px));
  margin-inline: auto;
  padding: 32vh 0 120px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.1;
}

.hero-subtitle {
  margin-bottom: 26px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 650;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(860px, calc(100% - 36px));
  transform: translateX(-50%);
}

.hero-panel span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 700;
}

.intro-section,
.services-section,
.about-section,
.engineering-section,
.calculator-section,
.contact-section {
  padding: clamp(54px, 7vw, 86px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 112px;
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.engineering-copy > p,
.about-copy p,
.calc-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.spec-panel,
.calculator,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.service-card p,
.spec-panel dd {
  color: var(--muted);
  line-height: 1.6;
}

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

.service-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 33, 90, 0.18);
  box-shadow: 0 18px 48px rgba(27, 35, 45, 0.1);
}

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

.service-card div {
  padding: 22px;
}

.service-type {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.about-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(6, 33, 90, 0.08), transparent 28%),
    var(--paper);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.about-copy {
  padding-top: 8px;
}

.about-copy p {
  margin-bottom: 26px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-points span {
  padding: 10px 14px;
  border: 1px solid rgba(6, 33, 90, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(27, 35, 45, 0.06);
}

.engineering-section,
.calculator-section,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.process-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.process-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #e8f1ee;
  color: var(--green-dark);
  font-weight: 750;
  font-size: 14px;
}

.spec-panel {
  padding: clamp(28px, 4vw, 44px);
}

.spec-panel dl,
.spec-panel dd {
  margin: 0;
}

.spec-panel div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.spec-panel dt {
  margin-bottom: 5px;
  font-weight: 850;
}

.calculator-section {
  background: linear-gradient(180deg, var(--paper), #eef5f2);
}

.calc-copy h2 {
  max-width: 720px;
}

.calculator {
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
}

.calculator label {
  display: block;
  margin-bottom: 14px;
  font-weight: 850;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

output {
  min-width: 94px;
  color: var(--green-dark);
  font-weight: 850;
  text-align: right;
}

.calc-result {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(13, 111, 85, 0.12);
  border-radius: 8px;
  background: #f7fbf9;
}

.calc-result span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.calc-result strong {
  font-size: 20px;
  line-height: 1.25;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(6, 33, 90, 0.96), rgba(10, 18, 28, 0.98)),
    var(--ink);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #8fd1bd;
}

.contact-inner {
  padding: 0;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  line-height: 1.45;
}

.contact-details a {
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

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

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.lead-form select {
  appearance: none;
  color: var(--white);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.78) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lead-form select option {
  color: var(--ink);
  background: var(--white);
}

.floating-whatsapp {
  position: fixed;
  z-index: 15;
  right: 18px;
  bottom: 18px;
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 42px rgba(13, 111, 85, 0.28);
  font-weight: 850;
}

@media (max-width: 1180px) {
  .service-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card img {
    height: 240px;
  }
}

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

  .nav-links,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-header.is-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 14px;
  }

  .site-header.is-open .header-actions {
    padding-bottom: 10px;
  }

  .menu-button {
    display: block;
  }

  .engineering-section,
  .about-inner,
  .calculator-section,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 28vh;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    min-height: 720px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 190px 16px 150px;
  }

  .services-section,
  .about-section,
  .engineering-section,
  .calculator-section,
  .contact-section {
    scroll-margin-top: 136px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-panel {
    left: 16px;
    right: 16px;
    bottom: 22px;
    width: auto;
    transform: none;
    gap: 8px;
  }

  .hero-panel span {
    padding: 9px 11px;
    font-size: 12px;
  }

  .service-card img {
    height: 190px;
  }

  .service-showcase,
  .range-row,
  .form-row,
  .form-actions {
    grid-template-columns: 1fr;
  }

  output {
    text-align: left;
  }

  .floating-whatsapp {
    display: inline-flex;
  }
}

@keyframes heroPan {
  from {
    transform: scale(1.03) translate3d(-0.8%, -0.4%, 0);
  }

  to {
    transform: scale(1.06) translate3d(1.1%, 0.5%, 0);
  }
}

@keyframes skyDrift {
  from {
    transform: translate3d(-3%, -1%, 0);
  }

  to {
    transform: translate3d(4%, 1%, 0);
  }
}

@keyframes panelGlint {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-36%);
  }

  68% {
    opacity: 0.34;
  }

  84%,
  100% {
    opacity: 0;
    transform: translateX(36%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero img,
  .sky-drift,
  .solar-reflection {
    animation: none;
  }
}
