:root {
  --green: #0f6b43;
  --green-dark: #07402d;
  --green-soft: #e7f3ea;
  --lime: #88c240;
  --ink: #17231d;
  --muted: #5b6b61;
  --line: #dce7df;
  --paper: #ffffff;
  --cream: #f7faf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hind", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 107, 67, 0.08);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  color: #fff;
  background: var(--green);
  font-size: 15px;
  font-weight: 600;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand img {
  width: 162px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--green-dark);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: var(--green);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(7, 64, 45, 0.16);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: 0.2s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 64, 45, 0.92), rgba(7, 64, 45, 0.48), rgba(7, 64, 45, 0.15)),
    url("assets/images/Gallery_AluminiumIngots.jpg") center / cover;
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.12;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 800;
}

.hero p {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 21px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--lime);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.motion-image {
  position: relative;
  justify-self: end;
  width: min(390px, 100%);
  aspect-ratio: 4 / 5;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(2deg);
  animation: imageSlideTilt 5.5s ease-in-out infinite;
}

.motion-image::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
}

.motion-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.32) 46%, transparent 58%);
  transform: translateX(-120%);
  animation: shineSweep 3.8s ease-in-out infinite;
  z-index: 2;
}

.motion-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1) translateX(8%);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.motion-slide.is-active {
  opacity: 1;
  transform: scale(1.04) translateX(0);
  animation: imageKenBurns 7s ease-in-out infinite alternate;
}

.motion-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
}

.reveal {
  opacity: 0;
  animation: riseIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.delay-5 {
  animation-delay: 0.75s;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.muted {
  max-width: none;
  background: var(--cream);
}

.section.muted > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.product-preview-grid,
.feature-grid,
.product-detail-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.product-preview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-preview-grid article,
.feature-grid article,
.product-detail-grid article,
.contact-card,
.stats-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(7, 64, 45, 0.08);
}

.float-card {
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(7, 64, 45, 0.18);
}

.float-card img {
  transition: transform 0.35s ease;
}

.float-card:hover img {
  transform: scale(1.04);
}

.product-preview-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.product-preview-grid h3 {
  margin: 0;
  padding: 14px;
  color: var(--green-dark);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  text-align: center;
}

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

.feature-grid article,
.product-detail-grid article {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.pulse-feature {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pulse-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 107, 67, 0.45);
}

.pulse-feature:hover .feature-icon {
  animation: iconPulse 0.8s ease;
}

h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.vision-list {
  display: grid;
  gap: 16px;
}

.vision-list article {
  padding-left: 18px;
  border-left: 5px solid var(--lime);
}

.metal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.metal-strip span,
.product-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.metal-strip span {
  animation: softBob 3.2s ease-in-out infinite;
}

.metal-strip span:nth-child(2) {
  animation-delay: 0.15s;
}

.metal-strip span:nth-child(3) {
  animation-delay: 0.3s;
}

.metal-strip span:nth-child(4) {
  animation-delay: 0.45s;
}

.metal-strip span:nth-child(5) {
  animation-delay: 0.6s;
}

.metal-strip span:nth-child(6) {
  animation-delay: 0.75s;
}

.page-hero {
  padding: 92px 24px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(7, 64, 45, 0.86), rgba(7, 64, 45, 0.78)),
    url("assets/images/Gallery_HeatExchangers.jpg") center / cover;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: 20px;
}

.rounded-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 64, 45, 0.16);
}

.stats-panel {
  padding: 28px;
}

.progress {
  position: relative;
  height: 32px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
}

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--green), var(--lime));
}

.progress b {
  position: relative;
  z-index: 1;
  display: block;
  padding: 4px 14px;
  color: var(--green-dark);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.product-detail-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 64, 45, 0.16);
}

.product-points {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 28px;
}

.product-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

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

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

.gallery-grid figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 16px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 64, 45, 0.88));
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.contact-card.highlight {
  color: #fff;
  background: var(--green);
}

.contact-card.highlight h2,
.contact-card.highlight h3,
.contact-card.highlight a {
  color: #fff;
}

.contact-card iframe {
  width: 100%;
  min-height: 360px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}

.site-footer {
  padding: 24px;
  color: #fff;
  text-align: center;
  background: var(--green-dark);
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.01 3.2A12.7 12.7 0 0 0 5.14 22.47L3.2 28.8l6.5-1.86A12.69 12.69 0 1 0 16.01 3.2Zm0 22.98c-2.13 0-4.1-.64-5.75-1.74l-.42-.27-3.86 1.1 1.13-3.67-.29-.45A10.25 10.25 0 1 1 16 26.18Zm5.7-7.68c-.31-.16-1.84-.91-2.12-1.01-.29-.1-.5-.16-.71.16-.21.31-.82 1.01-1 1.22-.19.21-.37.24-.69.08-.31-.16-1.32-.49-2.52-1.56-.93-.83-1.56-1.86-1.74-2.17-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.1-.21.05-.39-.03-.55-.08-.16-.71-1.71-.97-2.34-.26-.62-.52-.54-.71-.55h-.6c-.21 0-.55.08-.84.39-.29.31-1.1 1.08-1.1 2.62s1.13 3.04 1.29 3.25c.16.21 2.22 3.39 5.38 4.75.75.32 1.34.52 1.8.66.76.24 1.45.21 1.99.13.61-.09 1.84-.75 2.1-1.48.26-.73.26-1.35.18-1.48-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.01 3.2A12.7 12.7 0 0 0 5.14 22.47L3.2 28.8l6.5-1.86A12.69 12.69 0 1 0 16.01 3.2Zm0 22.98c-2.13 0-4.1-.64-5.75-1.74l-.42-.27-3.86 1.1 1.13-3.67-.29-.45A10.25 10.25 0 1 1 16 26.18Zm5.7-7.68c-.31-.16-1.84-.91-2.12-1.01-.29-.1-.5-.16-.71.16-.21.31-.82 1.01-1 1.22-.19.21-.37.24-.69.08-.31-.16-1.32-.49-2.52-1.56-.93-.83-1.56-1.86-1.74-2.17-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.1-.21.05-.39-.03-.55-.08-.16-.71-1.71-.97-2.34-.26-.62-.52-.54-.71-.55h-.6c-.21 0-.55.08-.84.39-.29.31-1.1 1.08-1.1 2.62s1.13 3.04 1.29 3.25c.16.21 2.22 3.39 5.38 4.75.75.32 1.34.52 1.8.66.76.24 1.45.21 1.99.13.61-.09 1.84-.75 2.1-1.48.26-.73.26-1.35.18-1.48-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(37, 211, 102, 0.42);
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16) rotate(-4deg);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes softBob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes imageSlideTilt {
  0%,
  100% {
    transform: translateX(0) rotate(2deg);
  }

  50% {
    transform: translateX(-18px) rotate(-1deg);
  }
}

@keyframes imageKenBurns {
  from {
    transform: scale(1.06) translateY(-1%);
  }

  to {
    transform: scale(1.16) translateY(2%);
  }
}

@keyframes shineSweep {
  to {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .motion-image {
    justify-self: start;
    width: min(260px, 78vw);
  }

  .product-preview-grid,
  .feature-grid,
  .product-detail-grid,
  .gallery-grid,
  .product-detail-hero,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .dropdown {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: 530px;
  }

  .product-preview-grid,
  .feature-grid,
  .product-detail-grid,
  .gallery-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 18px;
  }
}
