:root {
  --ink: #111827;
  --muted: #5d6676;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --steel: #21435f;
  --teal: #047c89;
  --copper: #b6612d;
  --yellow: #f3b43f;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.16);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark .mark-bg {
  fill: #1f3345;
}

.brand-mark .mark-ring,
.brand-mark .mark-core {
  fill: none;
  stroke: #f3b43f;
  stroke-width: 5;
}

.brand-mark .mark-blades {
  fill: #d8dee8;
}

.brand-mark .mark-hub {
  fill: #047c89;
}

.brand-mark text {
  fill: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: currentColor;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.35)),
    url("https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1800&q=78") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 86px),
    linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.86) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  align-self: center;
  margin-left: clamp(20px, 6vw, 92px);
  padding-top: 108px;
}

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

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  width: min(680px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 22px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--yellow);
  font-size: 26px;
  line-height: 1;
}

.hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(300px, 1fr);
  gap: 38px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-grid,
.product-grid,
.client-grid,
.service-list,
.contact-card,
.contact-details,
.split {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.05);
}

.intro-grid p,
.service-list p,
.product-card p,
.split p,
.contact-card p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--copper);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
}

.spec-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.products {
  background: #eaf0f4;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.product-card-text-only {
  grid-template-columns: 1fr;
}

.product-card-text-only div {
  align-self: center;
}

.product-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(520px, 1.35fr) minmax(300px, 0.65fr);
  min-height: 520px;
}

.product-card-featured .product-photo-collage {
  min-height: 520px;
  gap: 6px;
}

.product-card-featured div:not(.product-photo-collage) {
  align-self: center;
  padding: 42px;
}

.product-card-featured h3 {
  font-size: 30px;
}

.product-card-featured p {
  font-size: 18px;
  line-height: 1.7;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d7dce3;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 210px;
  overflow: hidden;
  background: #d7dce3;
}

.product-photo-pair img {
  min-width: 0;
}

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

.product-photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  min-height: 210px;
  overflow: hidden;
  background: #d7dce3;
}

.product-photo-collage .feature-photo {
  grid-row: span 2;
}

.product-card div:not(.product-photo-collage) {
  padding: 26px;
}

.product-card-link {
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover .product-card-cta,
.product-card-link:focus-visible .product-card-cta {
  color: var(--red);
}

.product-card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.gallery-page {
  background: #eaf0f4;
  color: var(--ink);
}

.gallery-header {
  display: grid;
  gap: 22px;
  max-width: 1324px;
  margin: 0 auto;
  padding: 42px 28px 24px;
}

.gallery-header h1 {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--steel);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.gallery-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.gallery-back {
  width: fit-content;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-main {
  max-width: 1324px;
  margin: 0 auto;
  padding: 0 28px 60px;
}

.seal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  min-height: 280px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 12, 20, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
  transform: scale(0.55) translateY(18px);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.2s ease;
}

.image-lightbox.is-open img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.image-lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.services {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: 42px;
  align-items: start;
  max-width: 1324px;
  margin: 0 auto;
}

.service-list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.service-list article {
  padding: 26px;
  border-left: 5px solid var(--teal);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.clients {
  background: var(--steel);
  color: var(--white);
}

.clients .eyebrow {
  color: var(--yellow);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-logo-card {
  display: grid;
  min-height: 142px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.client-logo-card img {
  width: auto;
  max-width: 150px;
  height: 58px;
  object-fit: contain;
}

.client-logo-card img[src="/lnt-mhi-logo.png"] {
  max-width: 176px;
  height: 88px;
}

.client-logo-card img[src="/acwa-power-logo.png"] {
  max-width: 126px;
  height: 92px;
}

.client-logo-card img[src="/hinduja-power-logo.png"] {
  max-width: 188px;
  height: 72px;
}

.client-logo-card img[src="/acb-logo.png"] {
  max-width: 96px;
  height: 92px;
}

.client-logo-card img[src="/toshiba-logo.svg"] {
  max-width: 172px;
  height: 42px;
}

.client-logo-card img[src="/nlc-india-logo.svg"] {
  max-width: 132px;
  height: 98px;
}

.client-logo-card img[src="/ntpl-logo.svg"] {
  max-width: 116px;
  height: 104px;
}

.client-logo-card img[src="/contact-energy-logo.svg"] {
  max-width: 190px;
  height: 62px;
}

.client-logo-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.client-logo-card.dark-card {
  background: #111827;
}

.client-logo-card.dark-card span {
  color: rgba(255, 255, 255, 0.82);
}

.client-logo-card.text-logo-card strong {
  color: var(--steel);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.contact {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(4, 124, 137, 0.1), rgba(182, 97, 45, 0.1)),
    var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 42px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(4, 124, 137, 0.18);
  border-color: var(--teal);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.contact-details div {
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.contact-details span,
.contact-details strong,
.contact-details a {
  display: block;
}

.contact-details span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-inline {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--white);
  background: #128c7e;
  font-size: 13px;
  font-weight: 800;
}

.whatsapp-mark {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #128c7e;
  background: var(--white);
  fill: #128c7e;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #0f1720;
}

footer span {
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  color: var(--white);
  background: #128c7e;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.22);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-chat:hover {
  background: #0f7c70;
}

.whatsapp-icon {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #128c7e;
  background: var(--white);
  fill: #128c7e;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 84px 18px auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 880px;
  }

  .hero-panel,
  .intro-grid,
  .product-grid,
  .services,
  .contact-card,
  .contact-details,
  .split,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .brand strong {
    max-width: 190px;
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 950px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 1fr;
  }
  .product-card-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card-featured .product-photo-collage {
    min-height: 420px;
    height: 420px;
  }

  .product-card-featured div:not(.product-photo-collage) {
    padding: 28px;
  }

  .product-card-featured h3 {
    font-size: 25px;
  }

  .product-card img {
    height: 220px;
  }

  .product-photo-collage {
    min-height: 220px;
    height: 220px;
  }

  .product-photo-collage img {
    height: 100%;
  }

  .product-card-featured .product-photo-collage {
    min-height: 420px;
    height: 420px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .seal-gallery {
    grid-template-columns: 1fr;
  }
  .product-photo-pair,
  .brass-gallery {
    grid-template-columns: 1fr;
  }

  .product-photo-pair {
    min-height: 420px;
  }

  .gallery-header,
  .gallery-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .client-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .whatsapp-chat {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 10px 14px 10px 10px;
  }
}
