:root {
  --asc-red: #c81414;
  --asc-red-deep: #9f0f0f;
  --asc-charcoal: #07090f;
  --asc-charcoal-soft: #101521;
  --asc-blue-haze: #9eb8d6;
  --asc-white: #ffffff;
  --asc-ink: #1a1f2e;
  --asc-muted: #697389;
  --asc-panel: #f3f3f4;
  --nav-height: 72px;
  --drawer-width: min(360px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--asc-ink);
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.85), rgba(4, 8, 16, 0.75)),
    url("../images/project-commercial.jpg") center/cover no-repeat;
  min-height: 100vh;
}

.home-main {
  margin-top: 72px;
}
body::before {
  content: "";
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: var(--drawer-width);
  bottom: 0;
  background: rgba(2, 5, 10, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1050;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  opacity: 0;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
.brand-font {
  font-family: "League Spartan", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(2, 3, 7, 0.84) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  min-height: 72px;
}

.navbar .container {
  position: relative;
}

.top-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 2.4rem);
}

.top-strip a {
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  font-weight: 700;
}

.top-strip a:hover {
  color: #ffffff;
}

.navbar-brand {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.brand-name {
  font-size: 1.04rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.navbar-toggler {
  z-index: 1070;
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.navbar.navbar-expand-lg .navbar-toggler {
  display: inline-flex;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: none;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  position: relative;
  transition: transform 0.22s ease, background 0.22s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.navbar-collapse {
  position: fixed;
  top: 0;
  right: calc(-1 * var(--drawer-width));
  width: var(--drawer-width);
  height: 100vh;
  padding: 4.8rem 1.35rem 1.4rem;
  background: var(--asc-panel);
  border-left: 1px solid #d6d6d8;
  box-shadow: -20px 0 45px rgba(0, 0, 0, 0.25);
  display: block !important;
  transition: right 0.28s ease;
  z-index: 1060;
  overflow-y: auto;
}

.navbar.navbar-expand-lg .navbar-collapse {
  display: block !important;
}

.navbar-collapse.show {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d6d8dd;
  background: #ffffff;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.drawer-close:hover,
.drawer-close:focus {
  background: #f1f3f7;
  color: #111827;
}

.navbar-nav {
  width: 100%;
  margin-right: 0 !important;
}

.navbar.navbar-expand-lg .navbar-nav {
  flex-direction: column;
}

.nav-item + .nav-item {
  border-top: 1px solid #dedfe3;
}

.nav-link {
  color: #111827 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.83rem;
  font-weight: 700;
}

.nav-link::after {
  content: "\203a";
  color: #6b7280;
}

.nav-link.active {
  color: var(--asc-red) !important;
}

.btn-quote {
  margin-top: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--asc-red) 0%, #da3d3d 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.78rem 1.1rem;
}

.navbar-collapse .btn-quote {
  margin-top: 1rem;
  width: 100%;
}

.btn-quote:hover,
.btn-quote:focus {
  color: #fff;
  background: linear-gradient(120deg, #e23636 0%, var(--asc-red-deep) 100%);
}

.hero,
.hero-cinematic {
  position: relative;
  padding-top: 7.6rem;
}

.hero-cinematic {
  min-height: calc(100vh - 72px);
  margin-top: 72px;
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  background:
    linear-gradient(180deg, rgba(125, 155, 185, 0.72), rgba(30, 45, 62, 0.36)),
    url("../images/project-roof.jpg") center/cover;
}

.hero-cinematic .container {
  padding-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 19, 0.14), rgba(9, 12, 19, 0.38));
}

.hero-center {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slogan {
  color: #fff;
  font-size: clamp(2.4rem, 8.8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  margin-top: -0.2rem;
}

.hero .btn,
.hero-cinematic .btn {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.8rem 1.45rem;
}

.btn-outline-light.btn-lg,
.home-worth-cta,
.projects-hero-actions .btn-outline-light,
.highlight-band .btn.btn-light {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.8rem 1.45rem;
  line-height: 1;
}

.highlight-band .btn.btn-light,
.projects-cta-panel .btn.btn-light {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-center .d-flex {
  width: auto;
}

.home-hero-actions {
  display: flex;
  gap: 0.6rem;
}

.hero-center .btn-quote {
  min-width: 270px;
}

.hero-center .btn-outline-light {
  min-width: 180px;
}

.btn-outline-light {
  border-width: 2px;
}

.page-clean {
  background:
    linear-gradient(180deg, rgba(6, 9, 16, 0.88), rgba(6, 9, 16, 0.92)),
    var(--page-image) center/cover fixed;
}

.page-services {
  --page-image: url("../images/project-hybrid.jpg");
}

.page-how {
  --page-image: url("../images/after-home.jpg");
}

.page-projects {
  --page-image: url("../images/project-commercial.jpg");
}

.page-about {
  --page-image: url("../images/sol.jpg");
}

.page-contact {
  --page-image: url("../images/project-commercial.jpg");
}

.page-clean .hero {
  padding-bottom: 2.2rem;
}

.hero-box {
  padding: 1.55rem;
  border-radius: 1rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  color: #fff;
}

.page-clean .hero-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-box h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.7rem);
  line-height: 1.04;
  text-transform: uppercase;
  color: #fff;
}

.hero-box p {
  color: rgba(255, 255, 255, 0.92);
  margin-top: -0.18rem;
}

.page-contact .hero-box {
  max-width: 980px;
  margin: 0 auto 2.1rem;
  padding: clamp(1.3rem, 3vw, 2.1rem) clamp(1.2rem, 3.2vw, 2.4rem);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(12, 28, 86, 0.88), rgba(16, 34, 95, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 30px rgba(6, 15, 44, 0.32);
}

.page-contact .hero-box h1 {
  font-size: clamp(1.9rem, 4.3vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 0.45rem !important;
  color: #ffffff;
  text-transform: none;
}

.page-contact .hero-box p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(244, 248, 255, 0.96);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.section-pad {
  padding: 4.2rem 0;
}

.section-pad .container > h2,
.section-pad .container > p,
.section-pad .container > .d-flex h2,
.section-pad .container > .row > div > h2,
.section-pad .container > .row > div > p {
  color: #f8faff;
}

.band {
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 100vw;
  z-index: -1;
  background: var(--band-bg);
}

.band.band-soft {
  --band-bg: #090d15;
}

.band.band-white {
  --band-bg: #f0f3f9;
}

.band.band-dark {
  --band-bg: #06080e;
}

.about-cta.band.band-dark,
.services-cta.band.band-dark {
  --band-bg: transparent;
}

.about-cta.band::before,
.services-cta.band::before {
  background: transparent;
}

.about-story.band.band-white {
  --band-bg: transparent;
}

.about-story.band::before {
  background: transparent;
}

.about-story h2,
.about-story h3,
.about-story p,
.about-story li {
  color: #ffffff;
}

.about-story .card-soft {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.about-story .card-soft h3,
.about-story .card-soft p,
.about-story .card-soft li {
  color: #ffffff;
}

.about-story .col-lg-7,
.about-story .col-lg-5 {
  padding-top: 0.7rem;
}

.about-story h2 {
  font-size: clamp(2rem, 3.4vw, 2.45rem);
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.55;
}

.about-story .card-soft h3 {
  font-size: 1.45rem;
}

.about-story .card-soft li {
  font-size: 1.03rem;
  line-height: 1.55;
}

.card-soft,
.project-tile,
.contact-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: #f7f9ff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
}

.card-soft p,
.card-soft li,
.card-soft small,
.project-tile p {
  color: rgba(241, 245, 255, 0.9);
}

.band.band-white .card-soft,
.band.band-white .project-tile,
.band.band-white .contact-card {
  background: #fff;
  border-color: #d3dceb;
  color: #111827;
  box-shadow: 0 18px 24px rgba(17, 31, 58, 0.14);
}

.band.band-white .card-soft p,
.band.band-white .card-soft li,
.band.band-white .project-tile p,
.band.band-white .contact-card p,
.band.band-white .contact-card label,
.band.band-white .contact-card h2,
.band.band-white .contact-card small {
  color: #111827;
}

.icon-bubble {
  width: 50px;
  height: 50px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(150deg, #dc4040, #9f2121);
}

.page-services .services-grid.band.band-soft {
  --band-bg: transparent;
  padding-top: 2.8rem;
  padding-bottom: 3.2rem;
}

.page-services .services-grid::before {
  background:
    linear-gradient(180deg, rgba(10, 24, 73, 0.72), rgba(10, 24, 73, 0.72)),
    url("../images/project-commercial.jpg") center/cover no-repeat;
}

.page-services .services-grid .card-soft {
  background: rgba(8, 20, 62, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 20px rgba(7, 16, 48, 0.25);
  text-align: center;
  backdrop-filter: blur(2px);
}


.project-photo {
  height: 220px;
  background-position: center;
  background-size: cover;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.before-after .label {
  color: #8c1313;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.32rem;
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border: 1px solid #b8c7de;
  padding: 0.72rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #d93b3b;
  box-shadow: 0 0 0 0.2rem rgba(217, 59, 59, 0.16);
}

.map-frame {
  display: block;
  width: 100%;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #05070c;
  color: #c8d1e6;
}

.footer a {
  color: #fff;
}

.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1020;
  gap: 0.8rem !important;
}

.float-contact a {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.32);
}

.float-call {
  background: var(--asc-red);
}

.float-chat {
  background: var(--asc-red);
}

.float-call:hover,
.float-call:focus,
.float-chat:hover,
.float-chat:focus {
  background: var(--asc-red-deep);
  color: #fff;
}

.quote-modal .modal-content {
  background: #f8f9fb;
  color: #101828;
  border-radius: 1rem;
  border: 1px solid #d8deea;
}

.quote-modal .modal-header {
  border-bottom: 1px solid #dde2ee;
}

.quote-modal .modal-body p {
  color: #111827;
}

.reveal {
  animation: riseIn 0.78s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  :root {
    --nav-height: 66px;
  }

  .top-strip {
    display: none;
  }

  .hero-cinematic {
    min-height: calc(100vh - 66px);
    margin-top: 66px;
    padding-top: 0;
  }

  .section-pad {
    padding: 3.3rem 0;
  }

  .about-main {
    margin-top: 66px;
  }

  .section-full {
    min-height: auto;
    padding: 4rem 0;
  }

  .about-icon-grid {
    margin-top: 1rem;
  }

  .about-main .about-icon-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-main .about-icon-item {
    text-align: left;
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }

  .about-main .about-icon-item i {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .about-main .about-icon-item p {
    overflow-wrap: anywhere;
  }

  .about-culture {
    min-height: auto;
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
  }

  .about-culture-image {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(255,255,255,0.85) 100%),
      url("../images/solar-clear-b.jpg") center center/cover no-repeat;
  }

  .about-culture-panel {
    width: min(calc(100vw - 2rem), 560px);
    margin: 0 auto;
    align-self: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .about-story-mark {
    min-height: auto;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    padding: 1rem;
    margin: 0 auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  }

  .about-storyline .row {
    --bs-gutter-x: 1.5rem;
  }

  .about-storyline .col-lg-5 {
    justify-content: center;
    padding: 0 0.4rem;
  }

  .about-storyline .col-lg-7 {
    padding: 0 0.4rem;
  }

  .about-sustainability {
    min-height: auto;
  }

  .about-sustainability-card {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
  }

  .hero-cinematic {
    min-height: calc(100vh - 66px);
    margin-top: 66px;
    padding-top: 0;
  }

  .hero-cinematic .container {
    padding-top: 0;
  }

  .hero-slogan {
    font-size: clamp(2.05rem, 10vw, 2.9rem);
  }

  .hero-center .btn-quote,
  .hero-center .btn-outline-light {
    min-width: 0;
    width: auto;
  }

  .about-title {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .about-copy-block p,
  .about-sustainability-card p,
  .about-storyline p,
  .about-culture-panel p {
    font-size: 1rem;
  }

  .page-contact .hero-box {
    text-align: center;
    margin-bottom: 1.6rem;
    padding: 1.1rem 1rem 1.2rem;
  }

  .page-contact .hero-box h1 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  .page-contact .hero-box p {
    font-size: 0.98rem;
  }

  .about-icon-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-icon-item {
    text-align: left;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }

  .about-icon-item i {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .about-culture-panel h2,
  .about-sustainability-card h2,
  .about-story-title {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .about-culture {
    min-height: 72vh;
    display: block;
    padding: 0;
  }

  .about-culture-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100vw - 2rem), 520px);
    margin: 0;
    align-self: auto;
  }

  .about-story-mark {
    width: min(100%, 320px);
    padding: 0.85rem;
  }

  .about-story-mark img {
    width: min(72%, 220px);
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .float-contact {
    right: 0.72rem;
    bottom: 0.72rem;
    gap: 0.9rem !important;
  }

  .float-contact a {
    width: 46px;
    height: 46px;
  }
}

.about-main {
  margin-top: 72px;
}

.section-full {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
}

.about-solutions {
  background: #05070c;
  color: #f8fbff;
}

.about-title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.about-copy-block {
  margin-bottom: 2.1rem;
  max-width: 560px;
}

.about-copy-block h2 {
  color: #ffffff;
}

.about-copy-block p {
  color: rgba(239, 245, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.4rem;
}

.about-icon-item {
  text-align: center;
  padding: 1.1rem 0.8rem;
}

.about-icon-item i {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0.7rem;
}

.about-icon-item p {
  margin: 0;
  color: #f3f7ff;
  font-weight: 600;
}

.about-culture {
  min-height: 86vh;
  background: #f1f3f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.about-culture-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(255, 255, 255, 0.65) 70%, rgba(255, 255, 255, 0.8) 100%),
    url("../images/solar-clear-b.jpg") left center/cover no-repeat;
  z-index: 0;
}

.about-culture-panel {
  position: relative;
  z-index: 1;
  width: min(700px, 92%);
  margin-right: clamp(2.5rem, 8vw, 8rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.25rem;
  padding: clamp(2rem, 3.5vw, 2.8rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  animation: slideUp 0.7s ease-out both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-culture-panel::before {
  content: "Who We Are";
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2b705;
  margin-bottom: 0.8rem;
}

.about-culture-panel h2 {
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.about-culture-panel p {
  color: #2f3b52;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-culture-panel p:last-of-type {
  margin-bottom: 0;
}

.about-storyline {
  background: #f4f5f7;
}

.about-storyline .row {
  --bs-gutter-x: 0;
  align-items: stretch !important;
}

.about-storyline .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.about-storyline .col-lg-7 {
  margin-right: auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.2rem, 4vw, 4.5rem);
}

.about-storyline .col-lg-5 {
  display: flex;
  justify-content: stretch;
  padding: 0;
}

.about-story-title {
  text-transform: uppercase;
  color: #10225f;
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1rem;
}

.about-storyline p {
  color: #2e3a50;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 760px;
}

.about-story-mark {
  min-height: 100%;
  width: 100%;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #1b3d9b, #10225f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-story-mark:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.about-story-mark img {
  width: min(500px, 72%);
  border-radius: 0.9rem;
  filter: none;
}

.about-sustainability {
  min-height: 94vh;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.38) 0%, rgba(5, 7, 12, 0.7) 48%, rgba(5, 7, 12, 0.44) 100%),
    url("../images/sustainability.jpg") center/cover no-repeat;
}

.about-sustainability-card {
  margin-left: auto;
  width: min(760px, 100%);
  padding: clamp(1.2rem, 2.8vw, 2.1rem);
  margin-left: auto;
  width: min(760px, 100%);
  padding: clamp(1.2rem, 2.8vw, 2.1rem);
}

.about-sustainability-card h2 {
  color: #ffd866;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 0.9rem;
}

.about-sustainability-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-cta {
  background: transparent;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(4, 8, 16, 0.76) 0%, rgba(4, 8, 16, 0.58) 45%, rgba(4, 8, 16, 0.76) 100%),
    url("../images/home-solar.jpg") center/cover no-repeat;
  color: #f8fbff;
}

.home-title {
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.home-lead {
  max-width: 620px;
  font-size: 1.14rem;
  line-height: 1.7;
  color: rgba(238, 244, 255, 0.94);
}

.home-benefits {
  min-height: 90vh;
  padding-bottom: 6.2rem;
  padding-inline: clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 18% 14%, rgba(242, 183, 5, 0.22), rgba(242, 183, 5, 0) 40%),
    linear-gradient(100deg, rgba(5, 7, 12, 0.56) 0%, rgba(5, 7, 12, 0.76) 50%, rgba(5, 7, 12, 0.56) 100%),
    url("../images/solar-clear.jpg") center/cover no-repeat;
}

.home-benefits-layout {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1rem, 2.5vw, 2.1rem);
  align-items: center;
}

.home-why-side {
  margin-left: 0;
  margin-right: 0;
  justify-self: center;
  align-self: center;
}

.home-benefits-content {
  width: 100%;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  background: linear-gradient(140deg, rgba(7, 12, 20, 0.5), rgba(7, 12, 20, 0.32));
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(2px);
}

.home-worth-block {
  max-width: 920px;
}

.home-worth-kicker {
  margin: 0 0 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(250, 252, 255, 0.92);
  font-size: 0.71rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
}

.home-benefits-content h2 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 0.96;
  margin-bottom: 0.7rem;
}

.home-worth-intro {
  color: rgba(237, 244, 255, 0.9);
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.home-benefits-content ul {
  max-width: 1100px;
  margin: 0 0 1.25rem;
  padding-left: 0;
}

.home-benefits-content .benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.home-benefits-content .benefit-item {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.01rem, 1.4vw, 1.19rem);
  line-height: 1.4;
  margin: 0;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(8, 14, 26, 0.76), rgba(8, 14, 26, 0.52));
  padding: 0.82rem 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  backdrop-filter: blur(2px);
}

.home-benefits-content .benefit-icon {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: linear-gradient(150deg, #ffd866, #f2b705);
  color: #10225f;
  box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.19);
  flex: 0 0 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.home-worth-cta {
  padding: 0.78rem 1.05rem;
}

.home-why-kicker {
  margin: 0 0 0.48rem;
  color: rgba(242, 183, 5, 0.96);
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
}

.home-why-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.05rem;
  background: linear-gradient(160deg, rgba(7, 11, 19, 0.72), rgba(7, 11, 19, 0.48));
  backdrop-filter: blur(3px);
  padding: clamp(1.05rem, 2.2vw, 1.55rem);
}

.home-why-panel h3 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 0.62rem;
}

.home-why-panel p {
  color: rgba(245, 248, 255, 0.92);
  font-size: 1rem;
  line-height: 1.66;
  margin-bottom: 0.68rem;
}

.home-why-panel p:last-child {
  margin-bottom: 0;
}

.home-cta {
  background: transparent;
  padding-top: 0;
  padding-bottom: 4.2rem;
}

.home-cta .highlight-band {
  margin-top: -7rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .home-main {
    margin-top: 66px;
  }

  .home-benefits {
    min-height: auto;
    padding-bottom: 4.8rem;
  }

  .home-benefits-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .home-benefits-content {
    width: 100%;
    padding: 1rem;
  }

  .home-benefits-content .benefit-list {
    grid-template-columns: 1fr;
  }

  .home-cta .highlight-band {
    margin-top: -5.2rem;
  }

  .page-services .services-grid.band.band-soft {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .services-cards {
    gap: 1rem;
  }

  .page-services .service-card {
    padding: 1.35rem;
  }
}

@media (max-width: 767px) {
  .home-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .home-hero-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .home-hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    padding-inline: 0.85rem;
    font-size: 0.68rem;
  }

  .home-lead,
  .home-benefits-content .benefit-item,
  .home-why-panel p {
    font-size: 1rem;
  }

  .home-worth-intro {
    font-size: 0.98rem;
  }

  .home-benefits-content .benefit-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .home-why-panel h3,
  .home-benefits-content h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .home-benefits {
    padding-bottom: 4rem;
  }

  .home-cta {
    padding-bottom: 3.2rem;
  }

  .home-cta .highlight-band {
    margin-top: -3.6rem;
  }

  .services-intro {
    margin-bottom: 2rem;
    padding: 1rem 1.1rem 1.1rem;
  }

  .services-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .services-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }

  .page-services .services-grid .card-soft,
  .page-services .service-card {
    text-align: center;
    padding: 1.2rem;
  }

  .page-services .services-grid li,
  .page-services .service-card li {
    text-align: left;
  }
}

/* Global blue-yellow-white colorway overrides */
:root {
  --asc-red: #f2b705;
  --asc-red-deep: #d99f00;
  --asc-charcoal: #10225f;
  --asc-charcoal-soft: #17327f;
  --asc-blue-haze: #7f95d8;
  --asc-panel: #f4f7ff;
}

body {
  color: #10225f;
  background:
    linear-gradient(180deg, rgba(16, 34, 95, 0.78), rgba(16, 34, 95, 0.68)),
    url("../images/project-commercial.jpg") center/cover no-repeat;
}

body::before {
  background: rgba(16, 34, 95, 0.2);
}

.navbar {
  background: rgba(12, 28, 86, 0.9) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-strip a,
.navbar-brand,
.brand-name,
.hero-slogan,
.hero-subtitle {
  color: #ffffff !important;
}

.nav-link.active {
  color: #f2b705 !important;
}

.btn-quote {
  background: linear-gradient(120deg, #f2b705 0%, #ffd866 100%);
  color: #10225f;
}

.btn-quote:hover,
.btn-quote:focus {
  background: linear-gradient(120deg, #ffd866 0%, #f2b705 100%);
  color: #10225f;
}

.btn-outline-light,
.btn-outline-success,
.btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-success:hover,
.btn-outline-primary:hover {
  background: #f2b705;
  border-color: #f2b705;
  color: #10225f;
}

.navbar-collapse {
  background: #f4f7ff;
}

.nav-item + .nav-item {
  border-top: 1px solid #d7dff7;
}

.nav-link {
  color: #10225f !important;
}

.drawer-close {
  border-color: #cbd6f5;
  color: #10225f;
}

.page-clean {
  background:
    linear-gradient(180deg, rgba(16, 34, 95, 0.82), rgba(16, 34, 95, 0.76)),
    var(--page-image) center/cover no-repeat;
}

.band.band-soft {
  --band-bg: #132c78;
}

.band.band-white {
  --band-bg: #eef3ff;
}

.band.band-dark {
  --band-bg: #0f2364;
}

.card-soft,
.project-tile,
.contact-card {
  background: #ffffff;
  border: 1px solid #d2dcf8;
  color: #10225f;
  box-shadow: 0 16px 22px rgba(12, 28, 86, 0.14);
}

.card-soft p,
.card-soft li,
.card-soft small,
.project-tile p,
.contact-card p,
.contact-card label,
.contact-card h2,
.contact-card small {
  color: #27385f;
}

.icon-bubble {
  background: linear-gradient(150deg, #1b3d9b, #10225f);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffd866;
}

.highlight-band {
  background:
    linear-gradient(145deg, rgba(20, 45, 122, 0.96), rgba(10, 27, 83, 0.98)),
    #10225f;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.highlight-band h2,
.highlight-band p {
  color: #ffffff;
}

.highlight-band::before {
  background: radial-gradient(circle, rgba(242, 183, 5, 0.26), rgba(242, 183, 5, 0));
}

.page-services .services-grid::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/project-commercial.jpg") center/cover no-repeat;
}

.services-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 1.2rem 1.5rem 1.35rem;
}

.services-title {
  color: #ffd866;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.services-subtitle {
  color: #ffffff !important;
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 62ch;
  margin-inline: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.services-cards {
  position: relative;
  z-index: 1;
}

.page-services .services-grid .card-soft,
.page-services .service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 38px rgba(5, 13, 36, 0.22);
  text-align: center;
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-services .service-card:hover,
.page-services .services-grid .card-soft:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(5, 13, 36, 0.28);
}

.page-services .services-grid .icon-bubble {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(18, 33, 74, 0.18);
  background: rgba(18, 33, 74, 0.04);
  color: #f2b705;
  font-size: 2rem;
}

.page-services .services-grid h3,
.page-services .services-grid .h4,
.page-services .service-card h3,
.page-services .service-card .h4 {
  color: #12214a;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.page-services .services-grid p,
.page-services .services-grid li,
.page-services .service-card p,
.page-services .service-card li {
  color: #4a5568;
  line-height: 1.7;
  text-shadow: none;
}

.page-services .services-grid ul,
.page-services .service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.page-services .services-grid li,
.page-services .service-card li {
  position: relative;
  padding: 0.48rem 0.65rem 0.48rem 2rem;
  border-radius: 0.7rem;
  background: rgba(16, 34, 95, 0.04);
  border: 1px solid rgba(16, 34, 95, 0.08);
  text-align: left;
}

.page-services .services-grid li::before,
.page-services .service-card li::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 50%;
  width: 0.82rem;
  height: 0.82rem;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid #f2b705;
  border-radius: 2px;
  background: rgba(242, 183, 5, 0.14);
}

.highlight-band {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-inline: auto;
  border-radius: 1.05rem;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  background:
    linear-gradient(145deg, rgba(20, 45, 122, 0.96), rgba(10, 27, 83, 0.98)),
    #10225f;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 24px rgba(12, 28, 86, 0.28);
  color: #fff;
}

.highlight-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.26), rgba(242, 183, 5, 0));
  pointer-events: none;
}

.highlight-band p,
.highlight-band h2 {
  color: #fff;
}

.band.band-dark .highlight-band {
  margin-top: 5.35rem;
  margin-bottom: 0.6rem;
}

.step-line {
  position: relative;
  margin-left: 0.3rem;
  padding-left: 2.1rem;
}

.step-line::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  bottom: 0.4rem;
  left: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, #ef4b4b 0%, rgba(239, 75, 75, 0.18) 100%);
}

.step-item {
  position: relative;
  margin-bottom: 1.45rem;
}

.step-item::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  left: -1.65rem;
  top: 0.25rem;
  background: #ef4b4b;
  border: 2px solid #fff;
}

.process-side {
  height: auto;
}

/* Projects page modern redesign */
.projects-modern-main {
  margin-top: 72px;
}

.projects-hero {
  padding-top: 5.2rem;
}

.projects-hero-panel {
  max-width: 1050px;
  margin: 0 auto;
  border-radius: 1.1rem;
  padding: clamp(1.5rem, 3.3vw, 2.5rem);
  background:
    linear-gradient(120deg, rgba(8, 20, 64, 0.55), rgba(12, 33, 98, 0.28)),
    url("../images/project-house-solar-3.jpg") center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 32px rgba(7, 18, 56, 0.28);
}

.projects-eyebrow {
  color: #ffd866;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 800;
}

.projects-hero-panel h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  margin-bottom: 0.7rem;
  max-width: 16ch;
  text-transform: none;
}

.projects-lead {
  color: rgba(244, 248, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 60ch;
}

.projects-hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.projects-hero-actions .btn-outline-light {
  border-width: 2px;
  color: #fff;
  padding: 0.8rem 1.45rem;
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.filter-btn {
  border: 1px solid #c6d6f8;
  background: #ffffff;
  color: #10225f;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: #10225f;
  color: #ffffff;
  border-color: #10225f;
}

.section-title {
  color: #10225f;
  font-size: clamp(1.8rem, 3.3vw, 2.9rem);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.section-subtitle {
  color: #3a4d79;
  line-height: 1.7;
  max-width: 64ch;
  margin-bottom: 1.4rem;
}

.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.project-modern-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #d8e2fb;
  box-shadow: 0 12px 24px rgba(8, 20, 62, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(8, 20, 62, 0.2);
}

.project-modern-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-modern-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modern-body {
  padding: 1rem;
}

.project-modern-body h3 {
  color: #10225f;
  font-size: 1.34rem;
  margin-bottom: 0.45rem;
}

.project-modern-body p {
  color: #415379;
  line-height: 1.65;
  margin-bottom: 0.55rem;
}

.project-size {
  display: inline-block;
  color: #8b6500;
  background: rgba(242, 183, 5, 0.14);
  border: 1px solid rgba(242, 183, 5, 0.34);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.compare-card {
  background: #ffffff;
  border: 1px solid #d8e2fb;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 22px rgba(8, 20, 62, 0.12);
  height: 100%;
}

.compare-card h3 {
  color: #10225f;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.compare-widget {
  --compare-pos: 52%;
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  min-height: 280px;
}

.compare-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  width: var(--compare-pos-px, var(--compare-pos));
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.compare-range {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  bottom: 0.8rem;
  height: 1.15rem;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 3;
}

.compare-range::-webkit-slider-runnable-track {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #6f79f3;
  box-shadow: 0 3px 10px rgba(8, 20, 62, 0.35);
  margin-top: -0.36rem;
  cursor: ew-resize;
}

.compare-range::-moz-range-track {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.compare-range::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #6f79f3;
  box-shadow: 0 3px 10px rgba(8, 20, 62, 0.35);
  cursor: ew-resize;
}

.compare-tags {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  justify-content: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-tags span {
  color: #fff;
  background: rgba(8, 20, 62, 0.74);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
}

.compare-tags span:last-child {
  display: none;
}

.compare-widget.is-after .compare-tags {
  justify-content: flex-end;
}

.compare-widget.is-after .compare-tags span:first-child {
  display: none;
}

.compare-widget.is-after .compare-tags span:last-child {
  display: inline-flex;
}

.before-after-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.before-after-modern figure {
  margin: 0;
}

.before-after-modern img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0.72rem;
}

.before-after-modern figcaption {
  margin-top: 0.45rem;
  color: #10225f;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.benefits-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  grid-column: span 1;
}

.benefit-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid #d8e2fb;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(8, 20, 62, 0.1);
}

.benefit-card i {
  font-size: 1.6rem;
  color: #f2b705;
}

.benefit-card h3,
.testimonial-card h3 {
  color: #10225f;
  font-size: 1.08rem;
  margin-top: 0.65rem;
  margin-bottom: 0.5rem;
}

.benefit-card p,
.testimonial-card p {
  color: #42537a;
  line-height: 1.65;
  margin: 0;
}

.stars {
  color: #f2b705;
  margin-bottom: 0.6rem;
}

.projects-cta-panel {
  background: linear-gradient(130deg, #11266b, #0d1e56);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(1.3rem, 3vw, 2rem);
  text-align: center;
}

.projects-cta-panel h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-bottom: 0.6rem;
}

.projects-cta-panel p {
  color: rgba(245, 249, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.projects-footer {
  background: #0a1336;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.projects-footer .container {
  max-width: min(1420px, 95vw);
}

.projects-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr;
  column-gap: 3rem;
  row-gap: 1.5rem;
}

.projects-footer-grid > div:first-child {
  display: flex;
  flex-direction: column;
}

.projects-footer-grid > div:first-child > p.mb-0.mt-4 {
  margin-top: auto !important;
}

.projects-footer h3 {
  color: #ffd866;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.projects-footer p,
.projects-footer a {
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .projects-modern-main {
    margin-top: 66px;
  }

  .projects-cards-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (max-width: 767px) {
  .projects-hero {
    padding-top: 4.1rem;
  }

  .projects-hero-actions {
    width: 100%;
  }

  .projects-hero-actions .btn {
    width: 100%;
  }

  .projects-cards-grid,
  .benefits-grid,
  .testimonials-grid,
  .projects-footer-grid,
  .before-after-modern {
    grid-template-columns: 1fr;
  }

  .compare-image,
  .before-after-modern img {
    height: 220px;
  }
}

  /* Keep home icon list readable on phones; placed late so it wins cascade. */
  @media (max-width: 991px) {
    .home-hero .about-icon-grid {
      grid-template-columns: 1fr;
      gap: 0.95rem;
    }

    .home-hero .about-icon-item {
      text-align: left;
      padding: 0.5rem 0;
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .home-hero .about-icon-item i {
      width: 52px;
      height: 52px;
      font-size: 1.35rem;
      margin-bottom: 0;
      flex-shrink: 0;
    }
  }

  @media (max-width: 767px) {
    .page-about .about-culture {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: auto;
      padding: 2.5rem 1rem;
      overflow: hidden;
    }

    .page-about .about-culture-image {
      background-position: center center;
    }

    .page-about .about-culture-panel {
      position: relative;
      top: auto;
      left: auto;
      transform: none;
      width: min(100%, 340px);
      max-width: 340px;
      margin: 0 auto;
      align-self: auto;
    }
  }

/* Desktop uses top-strip navigation; show burger only on mobile. */
@media (min-width: 992px) {
  .navbar.navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .navbar.navbar-expand-lg .navbar-toggler {
    display: inline-flex !important;
  }
}