.solar-hero-ar {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  color: #fff;
  background-color: #06183d;
  background-image: linear-gradient(90deg, rgba(2, 11, 40, .86) 0%, rgba(3, 15, 49, .62) 33%, rgba(3, 17, 53, .14) 67%, rgba(3, 17, 53, .06) 100%), url('../img/hero-solar-future-ar.webp');
  background-position: center;
  background-size: 100% 100%;
  font-family: 'Almarai', sans-serif;
}

.solar-hero-ar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 10, 35, .44), transparent 28%, transparent 69%, rgba(2, 12, 41, .42));
}

.solar-hero-ar *, .solar-hero-ar *::before, .solar-hero-ar *::after { box-sizing: border-box; }
.solar-hero-shell { width: min(calc(100% - 3.5rem), 1520px); margin-inline: auto; }

.solar-hero-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 55px);
  padding-block: 20px;
}

.solar-hero-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.solar-hero-brand:hover, .solar-hero-brand:focus-visible { color: #fff; }
.solar-hero-brand img { display: block; width: clamp(64px, 5.2vw, 84px); height: auto; }
.solar-hero-brand-text { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.solar-hero-brand-text strong { color: #fff; font-size: clamp(1.35rem, 1.7vw, 1.9rem); line-height: 1.2; }
.solar-hero-brand-text small { color: #d8e5ff; font-size: clamp(.59rem, .74vw, .82rem); line-height: 1.45; }

.solar-hero-nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  /* flex: 1 1 auto; */
  min-width: 0;
  min-height: 76px;
  padding: 8px 10px;
  border: 1px solid rgba(154, 192, 255, .27);
  border-radius: 100px;
  background: rgba(2, 14, 47, .72);
  box-shadow: 0 12px 35px rgba(0, 5, 30, .26), inset 0 1px rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
}

.solar-hero-mobile-title, .solar-hero-menu-toggle { display: none; }
.solar-hero-links { display: flex; align-items: center; gap: 1px; min-width: 0; }
.solar-hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px clamp(7px, .8vw, 13px);
  border-radius: 100px;
  color: #f0f5ff;
  font-size: clamp(.72rem, .81vw, .91rem);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.solar-hero-links a:hover { color: #fff; background: rgba(57, 108, 231, .24); }
.solar-hero-links a.is-current { color: #fff; background: linear-gradient(115deg, #123cae, #2868ec); box-shadow: 0 5px 20px rgba(26, 91, 255, .3); }
.solar-hero-links i { font-size: .95rem; }

.solar-hero-nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 12px clamp(16px, 1.5vw, 26px);
  border-radius: 100px;
  color: #fff;
  background: linear-gradient(120deg, #153ef0, #2c82ff);
  box-shadow: 0 5px 22px rgba(23, 92, 255, .4);
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.solar-hero-nav-contact:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 9px 28px rgba(23, 92, 255, .52); }

.solar-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-height: 0;
  padding-block: clamp(16px, 3vh, 36px);
}
.solar-hero-copy { width: min(49%, 760px); text-align: right; }
.solar-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: clamp(.86rem, 1vw, 1.06rem);
  font-weight: 700;
  line-height: 1.8;
}
.solar-hero-eyebrow span { display: inline-block; width: 76px; height: 2px; background: #3188ff; box-shadow: 0 0 12px #3188ff; }
.solar-hero-copy h1 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 3.6vw, 4rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-shadow: 0 12px 30px rgba(0, 6, 35, .36);
}
.solar-hero-copy h1 span { display: block; color: #51adff; }
.solar-hero-description {
  max-width: 650px;
  margin: 20px 0 0;
  color: #e2ecff;
  font-size: clamp(1rem, 1.13vw, 1.2rem);
  font-weight: 500;
  line-height: 1.75;
  text-wrap: balance;
}
.solar-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.solar-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  color: #fff;
  font-size: clamp(.93rem, 1vw, 1.1rem);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.solar-hero-action:hover { color: #fff; transform: translateY(-3px); }
.solar-hero-action-primary { background: linear-gradient(115deg, #1545f4, #3190ff); box-shadow: 0 10px 35px rgba(17, 80, 245, .36); }
.solar-hero-action-primary:hover { box-shadow: 0 12px 38px rgba(17, 80, 245, .56); }
.solar-hero-action-secondary { border-color: #84c4ff; background: rgba(5, 24, 66, .65); box-shadow: inset 0 0 16px rgba(47, 137, 255, .17); }
.solar-hero-action-secondary:hover { background: rgba(18, 57, 124, .78); }
.solar-hero-action i { font-size: 1rem; }

.solar-hero-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(16px, 2vw, 30px);
  padding: 15px 14px;
  border: 1px solid rgba(198, 219, 255, .3);
  border-radius: 24px;
  background: rgba(8, 26, 68, .58);
  box-shadow: 0 16px 40px rgba(0, 5, 29, .24), inset 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}
.solar-hero-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 4px 16px;
}
.solar-hero-benefit:not(:last-child) { border-left: 1px solid rgba(202, 223, 255, .3); }
.solar-hero-benefit-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border: 1px solid rgba(102, 172, 255, .25);
  border-radius: 50%;
  color: #55b0ff;
  background: rgba(38, 91, 183, .35);
  font-size: 1.45rem;
  text-shadow: 0 0 14px rgba(68, 165, 255, .67);
}
.solar-hero-benefit strong, .solar-hero-benefit small { display: block; }
.solar-hero-benefit strong { color: #fff; font-size: clamp(.9rem, 1vw, 1.08rem); margin-bottom: 5px; }
.solar-hero-benefit small { color: #d6e2fa; font-size: clamp(.73rem, .8vw, .88rem); line-height: 1.5; }

.solar-hero-ar a:focus-visible, .solar-hero-menu-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.solar-hero-nav-backdrop[hidden] { display: none; }
.solar-hero-ar.is-menu-open { z-index: 100000; }

@media (max-width: 950px) {
  .solar-hero-nav { justify-content: space-between; }
  .solar-hero-menu-toggle {
    position: relative;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border: 1px solid rgba(182, 211, 255, .45);
    border-radius: 16px;
    background: rgba(4, 21, 61, .77);
    box-shadow: 0 8px 24px rgba(0, 5, 28, .22);
    cursor: pointer;
  }
  .solar-hero-menu-toggle span { display: block; width: 23px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .solar-hero-ar.is-menu-open .solar-hero-menu-toggle span:first-child { transform: translateY(8px) rotate(45deg); }
  .solar-hero-ar.is-menu-open .solar-hero-menu-toggle span:nth-child(2) { opacity: 0; }
  .solar-hero-ar.is-menu-open .solar-hero-menu-toggle span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .solar-hero-nav-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 7, 30, .7); backdrop-filter: blur(5px); }
  .solar-hero-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 26px;
    width: min(88vw, 390px);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 94px 24px 28px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid rgba(164, 204, 255, .28);
    border-radius: 0;
    background: linear-gradient(165deg, rgba(5, 21, 62, .98), rgba(2, 11, 39, .98));
    box-shadow: -20px 0 50px rgba(0, 3, 25, .38);
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  }
  .solar-hero-ar.is-menu-open .solar-hero-nav-panel { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .solar-hero-mobile-title { display: block; margin: 0; color: #96c9ff; font-size: 1rem; font-weight: 800; }
  .solar-hero-links { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .solar-hero-links a { display: flex; justify-content: flex-start; min-height: 47px; padding: 11px 16px; font-size: 1rem; }
  .solar-hero-nav-contact { width: 100%; min-height: 52px; }
  body.solar-hero-menu-open { overflow: hidden !important; }
}

@media (max-width: 900px) {
  .solar-hero-ar {
    height: auto;
    min-height: 100svh;
    background-image: linear-gradient(90deg, rgba(2, 11, 40, .79), rgba(3, 15, 49, .5)), url('../img/hero-solar-future-ar.webp');
    background-position: 63% center;
    background-size: cover;
  }
  .solar-hero-main { padding-block: 70px 85px; }
  .solar-hero-copy { width: min(100%, 660px); }
  .solar-hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solar-hero-benefit:nth-child(2) { border-left: 0; }
  .solar-hero-benefit:nth-child(-n+2) { padding-bottom: 16px; border-bottom: 1px solid rgba(202, 223, 255, .23); }
  .solar-hero-benefit:nth-child(n+3) { padding-top: 16px; }
}

@media (max-width: 600px) {
  .solar-hero-shell { width: min(calc(100% - 2rem), 1520px); }
  .solar-hero-ar { min-height: 100svh; background-position: 67% center; }
  .solar-hero-nav { padding-block: 15px; }
  .solar-hero-brand { gap: 8px; }
  .solar-hero-brand img { width: 60px; }
  .solar-hero-brand-text strong { font-size: 1.28rem; }
  .solar-hero-brand-text small { font-size: .58rem; }
  .solar-hero-menu-toggle { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; }
  .solar-hero-main { align-items: center; padding-block: 65px 70px; }
  .solar-hero-copy { width: 100%; text-align: center; }
  .solar-hero-eyebrow { justify-content: center; gap: 10px; font-size: .78rem; margin-bottom: 14px; }
  .solar-hero-eyebrow span { width: 32px; }
  .solar-hero-copy h1 { font-size: clamp(2.25rem, 8.5vw, 3.8rem); line-height: 1.38; letter-spacing: -.025em; }
  .solar-hero-description { margin-top: 18px; font-size: clamp(.9rem, 3.5vw, 1.08rem); line-height: 1.9; }
  .solar-hero-actions { width: min(100%, 460px); flex-wrap: nowrap; justify-content: center; gap: 8px; margin: 28px auto 0; }
  .solar-hero-action { flex: 1 1 0; min-width: 0; min-height: 53px; padding: 12px 12px; gap: 6px; font-size: clamp(.7rem, 2.8vw, .86rem); }
  .solar-hero-benefits { margin-bottom: 16px; padding: 10px; border-radius: 17px; }
  .solar-hero-benefit { justify-content: flex-start; gap: 9px; padding-inline: 7px; }
  .solar-hero-benefit-icon { width: 39px; height: 39px; flex-basis: 39px; font-size: 1rem; }
  .solar-hero-benefit strong { font-size: .76rem; margin-bottom: 2px; }
  .solar-hero-benefit small { font-size: .62rem; }
}

@media (max-width: 390px) {
  .solar-hero-brand img { width: 53px; }
  .solar-hero-brand-text strong { font-size: 1.15rem; }
  .solar-hero-brand-text small { font-size: .51rem; }
  .solar-hero-copy h1 { font-size: 2.1rem; }
  .solar-hero-action { padding-inline: 8px; }
}

@media (min-width: 600px) {
  .solar-hero-benefits {
    width: min(calc(100% - 2rem), 680px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: clamp(12px, 1.5vw, 24px);
    padding: 7px 6px;
    border-radius: 16px;
  }
  .solar-hero-benefit { justify-content: center; gap: 5px; padding: 2px 4px; }
  .solar-hero-benefit:nth-child(2) { border-left: 1px solid rgba(202, 223, 255, .3); }
  .solar-hero-benefit:nth-child(-n+2) { border-bottom: 0; padding-bottom: 2px; }
  .solar-hero-benefit:nth-child(n+3) { padding-top: 2px; }
  .solar-hero-benefit-icon {
    width: clamp(28px, 3vw, 38px);
    height: clamp(28px, 3vw, 38px);
    flex-basis: clamp(28px, 3vw, 38px);
    font-size: clamp(.85rem, 1.05vw, 1.05rem);
  }
  .solar-hero-benefit strong { margin-bottom: 2px; font-size: clamp(.69rem, 1vw, .85rem); }
  .solar-hero-benefit small { font-size: clamp(.6rem, .8vw, .71rem); line-height: 1.3; }
}

@media (min-width: 1200px) {
  .solar-hero-benefits { width: min(calc(60% - 2.1rem), 912px); padding: 9px 10px; }
  .solar-hero-benefit { gap: 8px; padding-inline: 7px; }
}

@media (min-width: 901px) and (max-height: 560px) {
  .solar-hero-nav { padding-block: 8px; }
  .solar-hero-brand img { width: 55px; }
  .solar-hero-nav-panel { min-height: 58px; padding-block: 5px; }
  .solar-hero-links a { min-height: 40px; }
  .solar-hero-nav-contact { min-height: 44px; padding-block: 8px; }
  .solar-hero-main { padding-block: 8px; }
  .solar-hero-eyebrow { margin-bottom: 6px; font-size: .78rem; }
  .solar-hero-copy h1 { font-size: clamp(2.35rem, 3.1vw, 3.4rem); line-height: 1.12; }
  .solar-hero-description { margin-top: 10px; font-size: .94rem; line-height: 1.45; }
  .solar-hero-actions { margin-top: 14px; }
  .solar-hero-action { min-height: 45px; padding: 8px 18px; font-size: .86rem; }
  .solar-hero-benefits { margin-bottom: 10px; padding: 7px 10px; }
  .solar-hero-benefit-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.1rem; }
  .solar-hero-benefit strong { font-size: .82rem; }
  .solar-hero-benefit small { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .solar-hero-ar *, .solar-hero-ar *::before, .solar-hero-ar *::after { transition-duration: .01ms !important; }
}
