:root {
  --ink: #1f2937;
  --muted: #5f6876;
  --blue: #2563eb;
  --green: #15803d;
  --yellow: #d69e16;
  --soft: #f3f4f6;
  --navy: #111827;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  max-width: 100%;
}
.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}
.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand span {
  font-size: 20px;
  font-weight: 650;
  margin-left: 12px;
  color: #1f2937;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #596273;
  font-weight: 500;
  font-size: 15px;
}
.main-nav a {
  transition: color 0.2s;
}
.main-nav a:hover {
  color: #b98512;
}
.staff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  padding: 11px 21px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: 0.25s;
  white-space: nowrap;
}
.staff-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.mobile-nav-toggle {
  display: none;
  border: 0;
  background: #f3f4f6;
  border-radius: 9px;
  padding: 10px;
  font-size: 21px;
  cursor: pointer;
}
.hero {
  height: calc(100vh - 0px);
  min-height: 520px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
  background: #101827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 25, 0.12);
  pointer-events: none;
}
.section {
  padding: 72px 0;
}
.section-lg {
  padding: 88px 0;
}
.section-title {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  margin: 0 0 18px;
  color: #252c36;
  letter-spacing: -0.035em;
}
.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #626b79;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-card {
  background: #f9fafb;
  padding: 34px 30px;
  border-radius: 13px;
  text-align: center;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.why-card:hover {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}
.why-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  color: #2563eb;
}
.why-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 {
  font-size: 20px;
  font-weight: 650;
  margin: 0 0 10px;
  color: #2d3440;
}
.why-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #667080;
  margin: 0;
}
.featured-section {
  background: #f3f4f6;
}
.featured-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.featured-frame {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
  position: relative;
}
.featured-frame img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 530px;
  object-fit: contain;
  transition: opacity 0.7s;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  margin-top: 16px;
}
.slider-dot {
  border: 0;
  background: #9ca3af;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: 0.2s;
}
.slider-dot.active {
  background: #2563eb;
  transform: scale(1.28);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.category-card {
  display: block;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.11);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.category-card:hover {
  transform: scale(1.025);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}
.category-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.category-copy {
  padding: 23px;
}
.category-copy h3 {
  font-size: 25px;
  margin: 0 0 9px;
  color: #202733;
}
.category-copy p {
  color: #667080;
  margin: 0;
  line-height: 1.6;
}
.empty-category {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
  border: 1px dashed #d2d8e0;
  border-radius: 12px;
  color: #6b7280;
}
.project-section {
  background: #f9fafb;
}
.project-carousel {
  position: relative;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  background: #111827;
}
.project-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s;
}
.project-slide.active {
  opacity: 1;
}
.project-slide img,
.project-slide video {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-bg {
  position: absolute !important;
  inset: 0;
  filter: blur(28px) brightness(0.5);
  object-fit: cover !important;
}
.project-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 27px;
  cursor: pointer;
}
.project-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
.project-arrow.prev {
  left: 18px;
}
.project-arrow.next {
  right: 18px;
}
.project-dots {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hybrid-section {
  background: #f9fafb;
}
.hybrid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hybrid-copy h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  margin: 0 0 13px;
  font-weight: 800;
  color: #262d38;
  letter-spacing: -0.03em;
}
.hybrid-copy .eyebrow {
  font-size: 19px;
  font-weight: 700;
  color: #ca971d;
  margin: 0 0 16px;
}
.hybrid-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #626b79;
  margin: 0 0 26px;
}
.green-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.2);
  transition: 0.2s;
}
.green-btn:hover {
  background: #15803d;
  transform: translateY(-2px);
}
.hybrid-video {
  width: 100%;
  display: block;
  border-radius: 17px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.showroom-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.showroom-card {
  width: 100%;
  max-width: 350px;
  padding: 28px;
  background: #f9fafb;
  text-align: center;
  border-radius: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s;
}
.showroom-card:hover {
  transform: translateY(-5px);
}
.showroom-card h3 {
  font-size: 21px;
  margin: 0 0 12px;
}
.showroom-card p {
  color: #647080;
  line-height: 1.6;
  min-height: 48px;
}
.showroom-card a {
  color: #2563eb;
  font-weight: 650;
}
.contact-section {
  background: #1f2937;
  color: #fff;
  text-align: center;
}
.contact-section .section-title {
  color: #facc15;
  margin-bottom: 30px;
}
.contact-copy {
  max-width: 700px;
  margin: auto;
}
.contact-copy > p {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.7;
  margin: 0 0 22px;
}
.contact-line {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}
.contact-address {
  color: #9ca3af;
  margin-top: 18px;
  line-height: 1.6;
}
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 24px 0;
}
.footer-inner {
  text-align: center;
  font-size: 13px;
}
.footer-inner p {
  margin: 0;
}
.footer-inner a {
  text-decoration: underline;
}
.footer-inner a:hover {
  color: #facc15;
}
.page-header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}
.page-header .nav-wrap {
  min-height: 76px;
}
.back-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.back-btn:hover {
  background: #1d4ed8;
}
.catalog-page {
  background: #f9fafb;
  min-height: 100vh;
}
.catalog-main {
  padding: 54px 0 80px;
}
.catalog-intro {
  text-align: center;
  margin-bottom: 48px;
}
.catalog-intro h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 12px;
  color: #1f2937;
}
.catalog-intro p {
  font-size: 18px;
  color: #687385;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
}
.product-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  background: #f3f4f6;
}
.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h2 {
  font-size: 22px;
  margin: 0 0 9px;
  color: #1f2937;
}
.product-card p {
  font-size: 15px;
  color: #687385;
  line-height: 1.6;
  margin: 0 0 15px;
}
.product-price {
  font-size: 26px;
  font-weight: 800;
  color: #16a34a;
  margin-top: auto;
}
.empty-products {
  text-align: center;
  padding: 64px 20px;
  color: #6b7280;
}
.privacy-card {
  background: #fff;
  padding: 36px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}
.privacy-card h1 {
  font-size: 30px;
  margin: 0 0 20px;
}
.privacy-card h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.privacy-card p,
.privacy-card li {
  color: #606a79;
  line-height: 1.8;
}
.privacy-card ul {
  padding-left: 25px;
}
.privacy-page {
  background: #f9fafb;
  min-height: 100vh;
  padding: 48px 0 70px;
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
    font-size: 14px;
  }
  .brand span {
    font-size: 18px;
  }
  .brand img {
    height: 43px;
  }
  .hybrid-grid {
    gap: 30px;
  }
  .section {
    padding: 64px 0;
  }
  .section-lg {
    padding: 72px 0;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1120px);
  }
  .nav-wrap {
    min-height: 68px;
    gap: 10px;
  }
  .brand img {
    height: 40px;
  }
  .brand span {
    font-size: 16px;
    margin-left: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .staff-btn {
    font-size: 12px;
    padding: 10px 13px;
  }
  .hero {
    min-height: 460px;
    height: 75vh;
  }
  .section,
  .section-lg {
    padding: 58px 0;
  }
  .section-lead {
    font-size: 16px;
    margin-bottom: 36px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .why-card {
    padding: 26px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .category-card img {
    height: 230px;
  }
  .project-carousel {
    height: 350px;
  }
  .hybrid-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hybrid-copy {
    order: 2;
  }
  .hybrid-media {
    order: 1;
  }
  .contact-line {
    font-size: 17px;
  }
  .privacy-card {
    padding: 24px;
  }
  .catalog-main {
    padding: 42px 0 58px;
  }
}
.mobile-nav-panel {
  display: none;
  background: #fff;
  border-top: 1px solid #eef0f4;
  padding: 10px 24px 15px;
}
.mobile-nav-panel.open {
  display: grid;
  gap: 0;
}
.mobile-nav-panel a {
  padding: 10px 4px;
  color: #566174;
  font-size: 14px;
  border-bottom: 1px solid #f1f3f5;
}
.mobile-nav-panel a:last-child {
  border-bottom: 0;
}

/* Product catalogue layout: three products per row on desktop. */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
/* Center the only card in an incomplete final row. */
.product-grid > .product-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid > .product-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    width: min(100%, calc((100% - 28px) / 2));
    justify-self: center;
  }
}
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid > .product-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

/* Projects gallery — follows the original IRN Solar House carousel styling. */
.project-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.project-slide {
  pointer-events: none;
}
.project-slide.active {
  pointer-events: auto;
}
.project-bg {
  z-index: 0;
  pointer-events: none;
}
.project-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  padding: 42px 70px 58px;
  color: #fff;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}
.project-caption strong {
  font-size: 18px;
  font-weight: 750;
}
.project-caption span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}
.project-dot {
  border: 0;
  background: rgba(255, 255, 255, 0.78);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: 0.2s;
}
.project-dot.active {
  background: #2563eb;
  transform: scale(1.25);
}
.project-empty {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 34px 24px;
  border: 1px dashed #cfd6df;
  border-radius: 14px;
  color: #737d8c;
  background: #fff;
}
.showroom-section {
  background: #fff;
}
.showroom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 27px;
  font-weight: 700;
}


.showroom-map-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a94a3;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 700px) {
  .project-carousel {
    height: 350px;
  }
  .project-caption {
    padding: 35px 58px 52px;
  }
  .project-caption strong {
    font-size: 15px;
  }
  .project-caption span {
    font-size: 11px;
  }
  .showroom-grid {
    gap: 18px;
  }
}
