*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
:root{
    --site-max-width:1300px;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}
html{
    scroll-behavior: smooth;
}

body{
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}    
code, pre{
    font-family: 'JetBrains Mono', monospace;
}
.main-nav a,.button{
  font-family: var(--font-body);
  font-weight: 600;
}

.site-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    padding-left: 0;
    padding-right: 40px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7df;
    z-index: 1000;
    background: #f8f8f4;
    
}
.logo{
    width: 150px;
    height: 100px;
    cursor: pointer;
    border-radius: 14px;
    object-position: left center;
    display: block;
    object-fit: contain;
}
ul{
    list-style: none;
    display: flex;
    gap: 30px;
    
}
ul a{
    text-decoration: none;
    color: #242820;
   transition: 0.4s ease;
    padding: 10px 40px;
    border-radius: 13px;
    font-size: medium;
    font-weight: bold;
}
ul a:hover{
    background-color: rgb(93, 149, 239);
}

/* active nav link */
.nav-list a:not(.button).active,
.nav-list a:not(.button):active {
  background: rgb(56, 150, 243);
  color: #fff;
}

/*HOME PAGE CSS*/
.main-nav>a:not(.button):hover,.text-link:hover,.card-link:hover{
    opacity:.65
}
.button:hover{
    transform:translateY(-2px);background:#2b47b6
}
.button{
  
    align-items: center;
    justify-content: center;
    padding: 15px 21px;
    min-height: 48px;
    justify-content: center;
    background:  rgb(93, 149, 239);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 5px;
    transition: background 0.25s ease;
}
/*hidden in desktop*/
#menu-open-button,
#menu-close-button {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}
/*mobile phone*/
@media screen and (max-width: 1300px) {
  ul {
    gap: 8px;
  }

  ul a {
    padding: 10px 14px;
    font-size: 15px;
    white-space: nowrap;
  }

  .site-nav {
    padding-right: 20px;
  }
}
@media screen and (max-width: 1100px) {
    .nav-list {
      position: fixed;
      top: 0;
      left: -300px;
      width: 250px;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 100px;
      background: rgb(56, 150, 243);
      transition: left 0.2s ease;
      gap: 18px;
      z-index: 1001;
    }
  
    body.show-mobile-menu .nav-list {
      left: 0;
    }
  
    body.show-mobile-menu .main-nav::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backdrop-filter: blur(5px);
      background: rgba(119, 182, 245, 0.2);
      z-index: 1000;
    }
  
    .main-nav #menu-open-button,
    .main-nav #menu-close-button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      font-size: 1.4rem;
      border-radius: 10px;
      transition: background .2s, color .2s, border-color .2s;
    }
  
    .main-nav #menu-open-button {
      color: rgb(9, 8, 8);
      background: transparent;
      border: 1px solid #a9a9b8;
    }
  
    .main-nav #menu-close-button {
      position: absolute;
      top: 30px;
      right: 30px;
      color: #fff;
      }
  
    .nav-list a {
      color: #fff;
    }

    .nav-list a:not(.button).active,
.nav-list a:not(.button):active {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}
    .logo {
      width: 220px;
      height: 120px;
      flex-shrink: 0;
    }
    
    .site-nav {
      padding-left: 0;
      padding-right: 20px;
    } 
/* Hover / tap state: blue fill, white icon */
.main-nav #menu-open-button:hover,
.main-nav #menu-open-button:active {
  color: #fff;
  background: rgb(37, 99, 235);
  border-color: rgb(37, 99, 235);
}

/* Close button inside the slide-out menu */
.main-nav #menu-close-button {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
}

.main-nav #menu-close-button:hover,
.main-nav #menu-close-button:active {
  background: rgb(37, 99, 235);
  border-color: rgb(37, 99, 235);
}
    
  }
/*hero sction*/
.hero {
  min-height: 690px;
  height: auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background-image: url("./img/solar-installation.jpg");
  background-size: cover;
  background-position: center;
  transition: background-image 0.7s ease-in-out;
  color: #fff;
}

/* Dark overlay helps keep white text readable over every photo */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(4, 14, 31, 0.58) 0%,
    rgba(4, 14, 31, 0.28) 55%,
    rgba(4, 14, 31, 0.18) 100%
  );
}

.hero-content {
  width: min(1100px, 90%);
  text-align: center;
  box-sizing: border-box;
  padding: 140px 16px 110px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 350;
  letter-spacing: 1.3px;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.4vw, 2.7rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -1;
  overflow-wrap: anywhere;
}

h1 strong {
  font-weight: 800;
}



.hero-actions {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-width: 185px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover {
  background: #0065cc;
}

.button-light {
  color: #1b2a40;
  background: rgba(255, 255, 255, 0.94);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.dot.active {
  background: white;
  transform: scale(1.15);
}

.below {
  padding: 70px 20px;
  text-align: center;
  color: var(--dark);
}

.below h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.below p:last-child {
  color: #596579;
}

@media (max-width: 600px) {
  .hero {
    min-height: 620px;
    height: 90vh;
    background-position: 58% center;
  }

  .hero-content {
    padding: 70px 0 90px;
  }

  h1 {
    letter-spacing: -1.4px;
    font-size: 25px;
    padding-top: 35px;
  }

  .hero-description {
    max-width: 390px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 260px;
    margin: 0 auto;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---------- WHO WE ARE ---------- */
.who {
  max-width: 100%;
  margin: 0 auto;
  padding: 100px 20px 60px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px 60px;
  align-items: start;
  scroll-margin-top: 100px;
}

.who-eyebrow,
.pillar-label,
.who-figure figcaption {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.who-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #333;
  margin-bottom: 24px;
}

.who-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgb(56, 150, 243);
}

.who-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(1.5rem, 3vw, 1.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #111;
  margin-bottom: 28px;
}

.who-text {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 36px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgb(22, 18, 18);
  border-radius: 2px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-outline:hover {
  background: rgb(37, 99, 235);
  color: #fff;
}

.who-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.who-figure figcaption {
  margin-top: 12px;
  font-size: 10px;
  color: #6b7280;
}

.who-pillars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid #111;
}

.pillar-label {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 10px;
}

.pillar h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
}

@media screen and (max-width: 900px) {
  .who {
    grid-template-columns: 1fr;
    padding: 100px 24px 50px;
  }

  .who-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ---------- WHAT WE DO ---------- */
.svc {
  max-width: 100%;
  padding: 60px 20px;
  scroll-margin-top: 100px;
}

.svc-head {
  margin-bottom: 40px;
}

.svc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #050507;
  margin-bottom: 18px;
}

.svc-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgb(56, 150, 243);
}

.svc-title {
  font-size: clamp(1.5rem, 2.5vw, 1.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #050608;
  max-width: 800px;
}

.svc-title::after {
  content: "";
  display: block;
  width: 166px;
  height: 4px;
  margin-top: 18px;
  background: rgb(56, 150, 243);
  border-radius: 2px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e7f1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 27, 77, .05);
}

.svc-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.svc-body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
}

.svc-num {
  width: 60px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f8;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0b1b4d;
  flex-shrink: 0;
}

.svc-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b1b4d;
  margin-bottom: 4px;
}

.svc-text p {
  font-size: .95rem;
  color: #5a6592;
}

/* view all button */
.svc-all {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.svc-all-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #fff;
  color: #0c0c0f;
  border: 1px solid #080909;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background .25s ease, color .25s ease;
}

.svc-all-link:hover,
.svc-all-link:focus-visible {
  background: rgb(56, 150, 243);
  color: #fff;
}

/* mobile: one card per line */
@media screen and (max-width: 800px) {
  .svc {
    padding: 50px 16px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .svc-card img {
    height: 190px;
  }

  .svc-body {
    padding: 18px 16px;
    gap: 14px;
  }

  .svc-num {
    width: 50px;
    height: 48px;
  }

  .svc-text h3 {
    font-size: 1.1rem;
  }

  .svc-all-link {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- IMAGE POPUP ---------- */
.svc-card img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .85);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgb(56, 150, 243);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* mobile */
@media screen and (max-width: 800px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox img {
    width: 100%;
    max-height: 80vh;
    max-height: 80dvh;
  }

  .lightbox-close {
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: 14px;
    width: 48px;
    height: 48px;
  }
}
/* ---------- FOOTER ---------- */
.ft {
  max-width: 100%;
  padding: 70px 20px 30px;
  background: linear-gradient(180deg, #333c85 0%, #13328f 35%, #0b1b4d 100%);;
  color: #fff;
  scroll-margin-top: 100px;
}

.ft-head {
  text-align: center;
  margin-bottom: 50px;
}

.ft-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.ft-head h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 16px auto 0;
  background: #f5b700;
  border-radius: 2px;
}

.ft-head p {
  font-size: 1.05rem;
  color: #c9d3f0;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.ft-col {
  display: flex;
  gap: 16px;
}

.ft-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ft-col p {
  line-height: 1.7;
  color: #c9d3f0;
}

.ft-list {
  flex-direction: column;
  gap: 14px;
}

.ft-list h3 {
  margin-bottom: 4px;
}

.ft-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ft-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgb(56, 150, 243);
  border-radius: 8px;
  font-size: 1.1rem;
  color: #fff;
}

.ft-social {
  text-align: center;
  margin-top: 50px;
}

.ft-social p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9d3f0;
  margin-bottom: 18px;
}

.ft-social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.ft-social-row a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background .25s ease;
}

.ft-social-row a:hover {
  background: rgb(56, 150, 243);
}

.ft-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  text-align: center;
  font-size: .85rem;
  color: #c9d3f0;
}

/* tablet and mobile: one column */
@media screen and (max-width: 900px) {
  .ft {
    padding: 50px 16px 24px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ft-head {
    margin-bottom: 36px;
  }
}


/* ---------- ABOUT BANNER PAGE---------- */
.ban {
  min-height: 520px;
  padding: 170px 20px 90px; /* top padding clears your fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #333c85 0%, #13328f 35%, #0b1b4d 100%);
}

.ban-inner {
  max-width: 900px;
}

.ban-pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.ban-title {
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.ban-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 22px auto 0;
  background:  #f5b700;
  border-radius: 2px;
}


@media screen and (max-width: 800px) {
  .ban {
    min-height: 420px;
    padding: 140px 16px 70px;
  }

  .ban-text {
    font-size: 1rem;
  }

  .ban-br {
    display: none;
  }
}


/* ---------- WHO WE ARE (centered version) ---------- */
.who-center {
  grid-template-columns: 1fr;
  max-width: 100%;
  padding: 60px 20px 60px;
  text-align: center;
}

.who-center .who-intro {
  max-width: 900px;
  margin: 0 auto;
}

.who-center .who-eyebrow {
  justify-content: center;
}

.who-center .who-title {
  max-width: 900px;
   font-size: clamp(1.5rem, 3vw, 1.2rem);
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.who-center .who-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.who-center .who-pillars {
  text-align: center;
}

.who-center .pillar {
  padding: 0 10px;
}

/* dividers between the three columns, desktop only */
@media screen and (min-width: 901px) {
  .who-center .pillar + .pillar {
    border-left: 1px solid #d8dce6;
  }
}

/* mobile */
@media screen and (max-width: 900px) {
  .who-center {
    padding: 60px 16px 60px;
  }

  .who-center .pillar + .pillar {
    padding-top: 24px;
    border-top: 1px solid #d8dce6;
  }
}

.who-center .who-intro {
  max-width: 1200px;
  margin: 0 auto;
}

.who-center .who-intro {
  max-width: 900px;
  margin: 0 auto;
}

.who-center .who-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(32px, 3vw, 36px);
  line-height: 1.2;
  text-wrap: balance;
}

.who-center .who-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(17px, 1.5vw, 18px);
  line-height: 1.7;
  text-align: justify;
  text-align-last: center;
  text-wrap: wrap;
  hyphens: auto;
}

/* ---------- QUOTE PAGE ---------- */
.ban-short {
  min-height: 340px;
  padding: 140px 20px 60px;
}

.qt {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.qt-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #5a6592;
  margin-bottom: 40px;
}

.qt-field {
  margin-bottom: 26px;
  border: 0;
  padding: 0;
}

.qt-label {
  display: block;
  font-weight: 600;
  color: #0b1b4d;
  margin-bottom: 10px;
}

.qt-label b {
  color: #d93025;
}

.qt input[type="text"],
.qt input[type="email"],
.qt input[type="tel"],
.qt textarea {
  width: 100%;
  padding: 14px;
  font: inherit;
  color: #111;
  background: #fff;
  border: 1px solid #cfd6e4;
  border-radius: 6px;
}

.qt input:focus,
.qt textarea:focus {
  outline: none;
  border-color: rgb(56, 150, 243);
  box-shadow: 0 0 0 3px rgba(56, 150, 243, .2);
}

.qt textarea {
  resize: vertical;
}

.qt small {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: #6b7280;
}

.qt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.qt-services label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}

.qt-services input {
  width: 20px;
  height: 20px;
  accent-color: rgb(56, 150, 243);
}

.qt-error {
  min-height: 1.2em;
  margin-bottom: 14px;
  color: #d93025;
  font-weight: 600;
}

.qt-submit {
  padding: 15px 36px;
  border: 0;
  border-radius: 6px;
  background: rgb(56, 150, 243);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .ban-short {
    min-height: 280px;
    padding: 120px 16px 50px;
  }

  .qt {
    padding: 40px 16px 60px;
  }

  .qt-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qt-submit {
    width: 100%;
  }
}

/* ---------- SERVICES HERO ---------- */
.sp-hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 160px 40px 90px; /* top padding clears your fixed header */
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 60, .88) 0%, rgba(5, 15, 60, .6) 55%, rgba(5, 15, 60, .3) 100%),
    url("./img/service-page.jpg") center / cover no-repeat;
}

.sp-content {
  width: 100%;
  max-width: 820px;
}

.sp-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #6fb3ff;
  margin-bottom: 26px;
}

.sp-eyebrow::before {
  content: "";
  width: 70px;
  height: 2px;
  background: #6fb3ff;
}

.sp-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}

.sp-accent {
  color: #6fb3ff;
}

.sp-text {
  max-width: 600px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #eef3ff;
  margin-bottom: 40px;
}

/* button centered */
.sp-actions {
  display: flex;
  justify-content: center;
}

.sp-btn {
  display: inline-block;
  padding: 16px 38px;
  background: rgb(56, 150, 243);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease;
}

.sp-btn:hover,
.sp-btn:focus-visible {
  background: #1f7ee0;
}

.trust{
  font-weight: bold;
  font-size: larger;
}

@media screen and (max-width: 800px) {
  .sp-hero {
    min-height: 560px;
    padding: 130px 16px 60px;
  }

  .sp-eyebrow::before {
    width: 40px;
  }

  .sp-text {
    font-size: 1rem;
  }

  .sp-btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- ROTATING GALLERY ---------- */
.rot {
  --w: 210px;
  --h: 280px;
  --r: 230px;

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  overflow: hidden;
}

.rot-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 18px;
}

.rot-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgb(56, 150, 243);
}

.rot-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0b1b4d;
  margin-bottom: 16px;
}

.rot-text p:last-child {
  max-width: 460px;
  line-height: 1.7;
  color: #6b7280;
}

/* 3D stage */
.rot-stage {
  height: 400px;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rot-ring {
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  animation: rot-spin 15s linear infinite;
}

.rot-stage:hover .rot-ring {
  animation-play-state: paused;
}

.rot-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 27, 77, .25);
  backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(var(--r));
}

.rot-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rot-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 14px 14px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(5, 15, 60, .85));
}

@keyframes rot-spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rot-ring {
    animation: none;
  }
}

/* tablet and mobile: text on top, gallery below */
@media screen and (max-width: 900px) {
  .rot {
    --w: 150px;
    --h: 200px;
    --r: 150px;

    grid-template-columns: 1fr;
    padding: 50px 16px;
    text-align: center;
  }

  .rot-eyebrow {
    justify-content: center;
  }

  .rot-text p:last-child {
    margin: 0 auto;
  }

  .rot-stage {
    height: 300px;
  }
}


/* ---------- PRODUCTS INTRO PAGE ---------- */
.mk-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 160px 40px 80px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 60, .92) 0%, rgba(5, 15, 60, .7) 60%, rgba(5, 15, 60, .45) 100%),
    url("./img/warehouse2.jpg") center / cover no-repeat;
}

.mk-content {
  max-width: 900px;
}

.mk-eyebrow {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8cc4ff;
  margin-bottom: 16px;
}

.mk-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.mk-text {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #eef3ff;
  margin-bottom: 32px;
}

.mk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.mk-btn {
  padding: 14px 28px;
  border: 1px solid #fff;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: background .25s ease, border-color .25s ease;
}

.mk-solid {
  background: rgb(56, 150, 243);
  border-color: rgb(56, 150, 243);
}

.mk-solid:hover {
  background: #1f7ee0;
  border-color: #1f7ee0;
}

.mk-outline {
  background: rgba(255, 255, 255, .08);
}

.mk-outline:hover {
  background: rgba(255, 255, 255, .22);
}

.mk-note {
  max-width: 640px;
  font-size: .9rem;
  line-height: 1.5;
  color: #d5e0ff;
}

/* ---------- PRODUCT GRID ---------- */
.pd {
  padding: 70px 20px 80px;
  scroll-margin-top: 100px;
}

.pd-head {
  margin-bottom: 40px;
}

.pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 18px;
}

.pd-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgb(56, 150, 243);
}

.pd-head h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0b1b4d;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e7f1;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(11, 27, 77, .06);
}

.pd-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 12px;
  background: rgb(56, 150, 243);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eef1f8;
}

.pd-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.pd-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1b4d;
}

.pd-body p {
  font-size: .95rem;
  line-height: 1.6;
  color: #5a6592;
}

.pd-spec {
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid #e3e7f1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: #333;
}

.pd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgb(56, 150, 243);
  border-radius: 6px;
  background: #fff;
  color: rgb(56, 150, 243);
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.pd-btn:hover,
.pd-btn:focus-visible {
  background: rgb(56, 150, 243);
  color: #fff;
}

@media screen and (max-width: 1000px) {
  .pd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 700px) {

  .mk-hero {
    --hdr: 100px;      /* height of your fixed header */
    --photo: 280px;    /* height of the photo strip */

    position: relative;
    display: block;
    min-height: 0;
    padding: calc(var(--hdr) + var(--photo) + 32px) 16px 50px;

    background-image: none;      /* removes the desktop photo and overlay */
     background: linear-gradient(180deg, #333c85 0%, #13328f 35%, #0b1b4d 100%);;   /* solid navy block */
  }

  /* the photo, on its own, with no color over it */
  .mk-hero::before {
    content: "";
    position: absolute;
    top: var(--hdr);
    left: 0;
    right: 0;
    height: var(--photo);
    background: url("./img/warehouse2.jpg") center / cover no-repeat;
  }

  .mk-content {
    position: relative;
  }

  .mk-eyebrow {
    font-size: .8rem;
    letter-spacing: .2em;
  }

  .mk-title {
    font-size: 2.4rem;
  }

  .mk-text {
    font-size: 1rem;
  }

  .mk-actions {
    gap: 10px;
  }

  .mk-btn {
    flex: 0 0 auto;
    padding: 12px 20px;
    font-size: .95rem;
  }

  .pd {
    padding: 50px 16px 60px;
  }

  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-card img {
    height: 200px;
  }
}

/* ---------- PROJECT CALL TO ACTION ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 20px;
  border-top: 1px solid #e3e7f1;
}

.cta-text h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1b4d;
  margin-bottom: 8px;
}

.cta-text p {
  max-width: 620px;
  line-height: 1.6;
  color: #5a6592;
}

.cta-btn {
  flex-shrink: 0;
  padding: 15px 30px;
  background: #fff;
  color: rgb(56, 150, 243);
  border: 1px solid rgb(56, 150, 243);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: rgb(56, 150, 243);
  color: #fff;
}

.pd-card img {
  cursor: zoom-in;
}

/* the category tag no longer blocks clicks on the image */
.pd-tag {
  pointer-events: none;
}

@media screen and (max-width: 800px) {
  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 16px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- CALCULATOR ---------- */
.calc {
  padding: 40px 20px 80px;
}

.calc-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e3e7f1;
  overflow-x: auto;
}

.calc-tab {
  padding: 14px 22px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #5a6592;
  white-space: nowrap;
  cursor: pointer;
}

.calc-tab.active {
  color: rgb(56, 150, 243);
  border-bottom-color: rgb(56, 150, 243);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e3e7f1;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 27, 77, .05);
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e3e7f1;
}

.calc-head h2 {
  font-size: 1.15rem;
  color: #0b1b4d;
}

.calc-total {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: rgb(56, 150, 243);
}

.calc-hint {
  margin-bottom: 16px;
  color: #5a6592;
}

/* appliance list */
.calc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 6px;
}

.calc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #f8f9fd;
  border: 1px solid #e3e7f1;
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}

.calc-item.on {
  background: #eef6ff;
  border-color: rgb(56, 150, 243);
}

.calc-item > i {
  width: 34px;
  text-align: center;
  font-size: 1.2rem;
  color: rgb(56, 150, 243);
}

.calc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calc-info strong {
  color: #0b1b4d;
}

.calc-info span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: #6b7280;
}

.calc-qty {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
}

.calc-qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  color: #0b1b4d;
  cursor: pointer;
}

.calc-qty output {
  min-width: 34px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

/* quick estimate */
.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-chip {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgb(56, 150, 243);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: rgb(56, 150, 243);
  cursor: pointer;
}

.calc-chip.on {
  background: rgb(56, 150, 243);
  color: #fff;
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0b1b4d;
}

.calc-field input {
  width: 100%;
  padding: 14px;
  font: inherit;
  border: 1px solid #cfd6e4;
  border-radius: 6px;
}

.calc-field input:focus {
  outline: none;
  border-color: rgb(56, 150, 243);
  box-shadow: 0 0 0 3px rgba(56, 150, 243, .2);
}

/* results panel */
.calc-spec {
  background:  linear-gradient(180deg, #333c85 0%, #13328f 35%, #0b1b4d 100%);;   /* solid navy block */
  border-color: #0b1b4d;
  color: #fff;
}

.calc-spec h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #c9d3f0;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #f5b700;
}

.stat-value.green {
  color: #5fe3a1;
}

.stat-value.blue {
  color: #6fb3ff;
}

.stat-value small {
  margin-left: 6px;
  font-size: .9rem;
  color: #fff;
}

.capex-label {
  margin-top: 26px;
}

.capex {
  margin: 8px 0 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #f5b700;
}

.calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgb(56, 150, 243);
  border-radius: 8px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background .25s ease;
}

.calc-cta:hover,
.calc-cta:focus-visible {
  background: #1f7ee0;
}

@media screen and (min-width: 901px) {
  .calc-spec {
    position: sticky;
    top: 120px;
  }
}

@media screen and (max-width: 900px) {
  .calc {
    padding: 30px 16px 60px;
  }

  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-tabs {
    max-width: 100%;
  }

  .calc-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .stat-value {
    font-size: 1.6rem;
  }
}
.recommend {
  margin-top: 26px;
}

.rec-type {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.rec-best {
  margin-top: 6px;
  line-height: 1.5;
  color: #c9d3f0;
}

.rec-notes {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: .9rem;
  line-height: 1.5;
  color: #c9d3f0;
}

.rec-notes:empty {
  display: none;
}


/* ---------- AI CHAT ---------- */
.ai {
  padding: 60px 20px 80px;
  scroll-margin-top: 100px;
}

.ai-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.ai-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #333;
}

.ai-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgb(56, 150, 243);
}

.ai-head h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0b1b4d;
}

.ai-head p:last-child {
  line-height: 1.6;
  color: #5a6592;
}

.ai-box {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e7f1;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 27, 77, .06);
}

.ai-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 380px;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fd;
}

.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
  border-radius: 14px;
}

.ai-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: #0b1b4d;
  border: 1px solid #e3e7f1;
  border-bottom-left-radius: 4px;
}

.ai-msg.user {
  align-self: flex-end;
  background: rgb(56, 150, 243);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg.typing {
  color: #6b7280;
  animation: ai-pulse 1s ease-in-out infinite;
}

.ai-msg a {
  font-weight: 700;
  color: rgb(56, 150, 243);
}

@keyframes ai-pulse {
  50% { opacity: .4; }
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #e3e7f1;
}

.ai-chips[hidden] {
  display: none;
}

.ai-chips button {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgb(56, 150, 243);
  border-radius: 999px;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: rgb(56, 150, 243);
  cursor: pointer;
}

.ai-form {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #e3e7f1;
}

.ai-form input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  font: inherit;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
}

.ai-form input:focus {
  outline: none;
  border-color: rgb(56, 150, 243);
  box-shadow: 0 0 0 3px rgba(56, 150, 243, .2);
}

.ai-form button {
  width: 52px;
  border: 0;
  border-radius: 8px;
  background: rgb(56, 150, 243);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.ai-form button:disabled {
  opacity: .6;
  cursor: default;
}

@media screen and (max-width: 700px) {
  .ai {
    padding: 40px 16px 60px;
  }

  .ai-log {
    height: 340px;
    padding: 14px;
  }

  .ai-msg {
    max-width: 92%;
  }

  .ai-chips,
  .ai-form {
    padding: 12px 14px;
  }
}


/* ---------- CONTACT PAGE ---------- */
.ban-crumbs .ban-title::after {
  display: none;
}

.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-weight: 600;
  color: #fff;
}

.crumbs a {
  color: #fff;
  text-decoration: none;
}

.crumb-dot {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.ct {
  padding: 70px 20px 90px;
  scroll-margin-top: 100px;
}

.ct-head {
  margin-bottom: 50px;
  text-align: center;
}

.ct-eyebrow {
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgb(56, 150, 243);
}

.ct-head h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1b4d;
  text-wrap: balance;
}

.ct-line {
  display: block;
  width: 120px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(56, 150, 243) 0 62%, transparent 62% 70%, rgb(56, 150, 243) 70% 100%);
}

.ct-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.ct-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ct-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgb(56, 150, 243);
  font-size: 1.4rem;
  color: #fff;
}

.ct-item p {
  margin-bottom: 4px;
  color: #5a6592;
}

.ct-item a,
.ct-item address {
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  color: #0b1b4d;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ct-form {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-form input,
.ct-form textarea {
  width: 100%;
  padding: 18px;
  font: inherit;
  color: #0b1b4d;
  background: #eaf3fd;
  border: 1px solid transparent;
  border-radius: 6px;
}

.ct-form textarea {
  min-height: 170px;
  resize: vertical;
}

.ct-form ::placeholder {
  color: #6b7a99;
}

.ct-form input:focus,
.ct-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgb(56, 150, 243);
  box-shadow: 0 0 0 3px rgba(56, 150, 243, .2);
}

.ct-status {
  min-height: 1.2em;
  font-weight: 600;
  color: #d93025;
}

.ct-status.ok {
  color: #1a8f3c;
}

.ct-btn {
  padding: 18px;
  border: 0;
  border-radius: 6px;
  background: rgb(56, 150, 243);
  font: inherit;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background .25s ease;
}

.ct-btn:hover,
.ct-btn:focus-visible {
  background: #1f7ee0;
}

.ct-btn:disabled {
  opacity: .6;
  cursor: default;
}

@media screen and (max-width: 900px) {
  .ct {
    padding: 50px 16px 60px;
  }

  .ct-head {
    margin-bottom: 36px;
  }

  .ct-info {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .ct-row {
    grid-template-columns: 1fr;
  }
}




























/* valid-HTML wrapper for the mobile close icon (does not affect layout) */
.menu-close-item { display: contents; }

/* success message colour for forms */
.qt-error.ok { color: #1a7f37; }


/* ---------- CALCULATOR: PHONE FIXES ---------- */
@media screen and (max-width: 900px) {
  /* two equal tabs that fit the screen, no sideways scrolling */
  .calc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: visible;
  }

  .calc-tab {
    padding: 12px 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .calc-card {
    padding: 18px 16px;
  }

  .calc-head {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  /* inputs at 16px+ so iPhones do not zoom in when tapped */
  .calc-field input {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .calc {
    padding: 24px 12px 50px;
  }

  .calc-item {
    gap: 10px;
    padding: 10px;
  }

  .calc-item > i {
    width: 26px;
    font-size: 1.05rem;
  }

  .calc-info strong {
    line-height: 1.25;
  }

  .calc-qty button {
    width: 40px;
    height: 40px;
  }

  .calc-qty output {
    min-width: 28px;
  }

  .calc-chip {
    padding: 9px 14px;
    font-size: .92rem;
  }

  .calc-spec h2 {
    margin-bottom: 18px;
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .stats {
    gap: 18px 14px;
    padding-bottom: 20px;
  }

  .stat-label {
    font-size: .72rem;
    line-height: 1.3;
  }

  .stat-value {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .stat-value small {
    display: inline-block;
    margin-left: 4px;
    font-size: .8rem;
  }

  .rec-type {
    line-height: 1.3;
  }

  .rec-best,
  .rec-notes {
    line-height: 1.45;
  }

  .capex {
    margin: 6px 0 22px;
    font-size: 1.3rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}


/* ---------- CALCULATOR: STICKY RESULT BAR (phones) ---------- */
.calc-bar {
  display: none;
}

#calc-results {
  scroll-margin-top: 100px;
}

@media screen and (max-width: 900px) {
  .calc-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #0b1b4d;
    border-top: 2px solid rgb(56, 150, 243);
    box-shadow: 0 -6px 20px rgba(11, 27, 77, .25);
    color: #fff;
  }

  .calc-bar[hidden] {
    display: none;
  }

  .calc-bar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .calc-bar-sub {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #c9d3f0;
  }

  .calc-bar-main {
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.3;
    color: #f5b700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calc-bar-btn {
    flex-shrink: 0;
    padding: 11px 16px;
    border: 0;
    border-radius: 8px;
    background: rgb(56, 150, 243);
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
  }

  /* leave room so the bar never hides the last content */
  body.has-calc-bar {
    padding-bottom: 76px;
  }
}

@media screen and (max-width: 380px) {
  .calc-bar {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .calc-bar-main {
    font-size: .8rem;
  }

  .calc-bar-sub {
    font-size: .66rem;
  }

  .calc-bar-btn {
    padding: 10px 11px;
    font-size: .85rem;
  }
}
