/* ==========================================================================
   Cilla Aluminium Company Limited — theme overrides
   Layered on top of main.css. Do not edit main.css directly.

   1. Text logo
   2. Product grid
   3. Core values
   4. Inner-page banner + breadcrumb
   5. Section lede
   6. Product detail
   7. Related products
   8. Step list (process page)
   9. Fact strip (about page)
  10. Contact cards
  11. CTA band
  12. Footer
   ========================================================================== */

/* 1. Brand logo ---------------------------------------------------------- */
/* The supplied logo is the reversed (white "CILLA") artwork, so it is only
   used on the dark header, mobile panel and footer. */
.logo__img--brand {
  display: inline-block;
  line-height: 0;
}

.logo__img--brand img {
  display: block;
  width: auto;
  height: 40px;
}

.app-footer .logo__img--brand img {
  height: 46px;
}

@media (max-width: 767px) {
  .logo__img--brand img {
    height: 32px;
  }
}

/* Text fallback, kept for any surface that has no room for the artwork. */
.logo__text {
  display: inline-block;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 2px;
  font-weight: 700;
  color: #105c83;
  text-decoration: none;
  white-space: nowrap;
}

.logo__text span {
  display: block;
  font-size: 10px;
  letter-spacing: 4.5px;
  font-weight: 400;
  color: #8a9099;
  margin-top: 4px;
}

.light-bg .logo__text,
.app-footer .logo__text,
.mobile-panel .logo__text {
  color: #fff;
}

.light-bg .logo__text span,
.app-footer .logo__text span,
.mobile-panel .logo__text span {
  color: rgba(255, 255, 255, 0.75);
}

/* Active nav item */
.main-nav__nav ul li.is-active > a {
  color: #105c83;
  font-weight: 700;
}

.light-bg .main-nav__nav ul li.is-active > a,
.app-header .main-nav__nav ul li.is-active > a {
  color: #fff;
  position: relative;
}

.app-header .main-nav__nav ul li.is-active > a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background-color: #105c83;
}

/* 2. Product grid -------------------------------------------------------- */
.our-services__items {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.our-services__item {
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 80px;
}

.our-services__body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  width: 100%;
}

.our-services__content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;
}

.our-services__more {
  margin-top: auto;
  padding-top: 10px;
}

/* Photos are mixed aspect ratios — crop them to the square tile. */
.our-services__img img {
  width: 180px;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 767px) {
  .our-services__item {
    margin-bottom: 30px;
  }
}

/* 3. Core values --------------------------------------------------------- */
.core-values {
  background-color: #fff;
}

.core-values__section {
  padding: 90px 0 40px;
}

.core-values__items {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -30px;
  margin-top: 60px;
}

.core-values__item {
  -ms-flex: 0 0 25%;
      flex: 0 0 25%;
  max-width: 25%;
  padding-left: 30px;
  margin-bottom: 50px;
}

.core-values__icon {
  width: 64px;
  height: 64px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  background-color: #105c83;
  color: #fff;
  font-size: 24px;
  margin-bottom: 25px;
}

.core-values__name {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.core-values__text {
  font-size: 14px;
  line-height: 24px;
  color: rgba(20, 27, 41, 0.502);
}

@media (max-width: 991px) {
  .core-values__item {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  .core-values__item {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 3b. Homepage product showcase ------------------------------------------ */
.showcase__section {
  padding: 100px 0 80px;
  background-color: #fff;
  position: relative;
}

.showcase__head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: end;
      align-items: flex-end;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
}

.showcase__lede {
  max-width: 520px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 30px;
  color: rgba(20, 27, 41, 0.6);
}

.showcase__items {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -16px;
  margin-top: 55px;
}

.showcase__item {
  padding-left: 16px;
  margin-bottom: 16px;
}

/* Uniform 4-up. The product photos are mostly portrait, so a portrait-ish
   tile crops them far better than a wide one. */
.showcase__item {
  -ms-flex: 0 0 25%;
      flex: 0 0 25%;
  max-width: 25%;
}

.showcase__link {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #0b1a24;
  text-decoration: none;
}

.showcase__img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.showcase__img {
  height: 380px;
}

.showcase__link:hover .showcase__img,
.showcase__link:focus .showcase__img {
  -webkit-transform: scale(1.06);
          transform: scale(1.06);
}

.showcase__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(11,26,36,0.92)), color-stop(40%, rgba(11,26,36,0.42)), to(rgba(11,26,36,0)));
  background: linear-gradient(to top, rgba(11,26,36,0.92) 0%, rgba(11,26,36,0.42) 40%, rgba(11,26,36,0) 72%);
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}

.showcase__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 24px;
}

.showcase__rule {
  width: 0;
  height: 3px;
  background-color: #ed1c24;
  margin-bottom: 14px;
  -webkit-transition: width 0.45s ease;
  transition: width 0.45s ease;
}

.showcase__link:hover .showcase__rule,
.showcase__link:focus .showcase__rule {
  width: 54px;
}

.showcase__rule,
.showcase__name,
.showcase__tag {
  display: block;
}

.showcase__name {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.showcase__tag {
  font-size: 13px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.72);
}

.showcase__bot {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 991px) {
  .showcase__item {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
  }

  .showcase__img {
    height: 320px;
  }

  .showcase__section {
    padding: 70px 0 50px;
  }
}

@media (max-width: 575px) {
  .showcase__item {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }

  .showcase__img {
    height: 300px;
  }
}

/* 4. Inner-page banner --------------------------------------------------- */
/* main.css pins the homepage header to a fixed 1000px black panel — inner
   pages size to their banner instead. */
.app-header--inner .app-header__section {
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.page-banner {
  position: relative;
  min-height: 420px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(11, 26, 36, 0.88)), to(rgba(11, 26, 36, 0.45)));
  background: linear-gradient(90deg, rgba(11, 26, 36, 0.88) 0%, rgba(11, 26, 36, 0.45) 100%);
}

.page-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 70px;
}

.page-banner__title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 54px;
  line-height: 60px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-banner__crumbs {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page-banner__crumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  -webkit-transition: color 0.25s ease;
  transition: color 0.25s ease;
}

.page-banner__crumbs a:hover {
  color: #fff;
}

.page-banner__crumbs span {
  color: #fff;
}

.page-banner__crumbs i {
  font-size: 9px;
  margin: 0 12px;
  position: relative;
  top: -1px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 991px) {
  .page-banner {
    min-height: 320px;
  }

  .page-banner__title {
    font-size: 38px;
    line-height: 44px;
  }

  .page-banner__inner {
    padding-top: 120px;
    padding-bottom: 50px;
  }
}

@media (max-width: 575px) {
  .page-banner {
    min-height: 240px;
  }

  .page-banner__title {
    font-size: 28px;
    line-height: 34px;
  }

  .page-banner__inner {
    padding-top: 90px;
    padding-bottom: 40px;
  }
}

/* 5. Section lede -------------------------------------------------------- */
.section-lede {
  max-width: 760px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 30px;
  color: rgba(20, 27, 41, 0.6);
}

/* 6. Product detail ------------------------------------------------------ */
.product-detail__section {
  padding: 100px 0 60px;
  background-color: #fff;
  position: relative;
  /* the offset accent square below must not widen the page */
  overflow: hidden;
}

.product-detail__inner {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -50px;
}

.product-detail__gallery {
  -ms-flex: 0 0 45%;
      flex: 0 0 45%;
  max-width: 45%;
  padding-left: 50px;
}

.product-detail__content {
  -ms-flex: 0 0 55%;
      flex: 0 0 55%;
  max-width: 55%;
  padding-left: 50px;
}

.product-detail__main {
  position: relative;
}

.product-detail__main:after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 130px;
  height: 130px;
  background-color: #105c83;
  z-index: 1;
}

.product-detail__main img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.product-detail__thumbs {
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
  margin-left: -20px;
}

.product-detail__thumb {
  -ms-flex: 1 1 0;
      flex: 1 1 0;
  padding-left: 20px;
}

.product-detail__thumb img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.product-detail__eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #105c83;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-detail__title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 42px;
  line-height: 48px;
  font-weight: 700;
  color: #333;
  margin: 0 0 22px;
}

.product-detail__lede {
  font-size: 18px;
  line-height: 32px;
  color: #333;
  margin-bottom: 22px;
}

.product-detail__content p {
  font-size: 15px;
  line-height: 28px;
  color: rgba(20, 27, 41, 0.6);
  margin-bottom: 18px;
}

.product-detail__buttons {
  margin-top: 34px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}

.btn-general--ghost {
  background-color: transparent !important;
  border: 1px solid #105c83;
  color: #105c83 !important;
}

.btn-general--ghost:hover {
  background-color: #105c83 !important;
  color: #fff !important;
}

.light-bg .btn-general--ghost,
.page-cta .btn-general--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff !important;
}

.light-bg .btn-general--ghost:hover,
.page-cta .btn-general--ghost:hover {
  background-color: #fff !important;
  color: #105c83 !important;
}

/* Specs */
.product-specs {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -50px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e8e8e8;
}

.product-specs__col {
  -ms-flex: 0 0 50%;
      flex: 0 0 50%;
  max-width: 50%;
  padding-left: 50px;
  margin-bottom: 30px;
}

.product-specs__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 22px;
}

.product-specs__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-specs__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 26px;
  color: rgba(20, 27, 41, 0.65);
}

.product-specs__list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: #105c83;
}

.product-specs__list--plain li:before {
  background-color: #c9d3d9;
}

.product-specs__note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(20, 27, 41, 0.45);
  font-style: italic;
}

@media (max-width: 991px) {
  .product-detail__gallery,
  .product-detail__content,
  .product-specs__col {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }

  .product-detail__content {
    margin-top: 50px;
  }

  .product-detail__title {
    font-size: 32px;
    line-height: 38px;
  }

  .product-detail__section {
    padding: 60px 0 40px;
  }
}

/* 7. Related products ---------------------------------------------------- */
.related__section {
  padding: 80px 0;
  background-color: #f5f6f7;
}

.related__items {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -30px;
  margin-top: 50px;
}

.related__item {
  -ms-flex: 0 0 33.333%;
      flex: 0 0 33.333%;
  max-width: 33.333%;
  padding-left: 30px;
  margin-bottom: 30px;
}

.related__link {
  display: block;
  background-color: #fff;
  text-decoration: none;
  height: 100%;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
}

.related__link:hover {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
}

.related__img img {
  width: 100%;
  height: 210px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.related__name {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  padding: 24px 25px 6px;
}

.related__tag {
  font-size: 14px;
  color: rgba(20, 27, 41, 0.5);
  padding: 0 25px 26px;
}

.related__bot {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .related__item {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 8. Step list (process page) -------------------------------------------- */
.step-list__section {
  padding: 100px 0 60px;
  background-color: #fff;
}

.step-list__items {
  margin-top: 60px;
}

.step-list__item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eee;
}

.step-list__item:last-child {
  border-bottom: 0;
}

.step-list__num {
  -ms-flex: 0 0 110px;
      flex: 0 0 110px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #e3e8eb;
  line-height: 1;
}

.step-list__pic {
  -ms-flex: 0 0 230px;
      flex: 0 0 230px;
  max-width: 230px;
}

.step-list__pic img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.step-list__content {
  -ms-flex: 1 1 300px;
      flex: 1 1 300px;
  padding-left: 45px;
}

.step-list__name {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}

.step-list__text {
  font-size: 15px;
  line-height: 28px;
  color: rgba(20, 27, 41, 0.6);
}

@media (max-width: 767px) {
  .step-list__num {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    margin-bottom: 15px;
  }

  .step-list__pic {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }

  .step-list__content {
    padding-left: 0;
    margin-top: 25px;
  }
}

/* 9. Fact strip (about page) --------------------------------------------- */
.fact-strip__section {
  position: relative;
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.fact-strip__section:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(11, 26, 36, 0.82);
}

.fact-strip__inner {
  position: relative;
  z-index: 2;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.fact-strip__item {
  -ms-flex: 0 0 25%;
      flex: 0 0 25%;
  max-width: 25%;
  padding-right: 25px;
}

.fact-strip__num {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.fact-strip__label {
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
  .fact-strip__item {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 35px;
  }
}

/* 10. Contact cards ------------------------------------------------------ */
.contact-cards__section {
  /* the contact form's photo below pulls up by -130px — leave room for it */
  padding: 100px 0 180px;
  background-color: #fff;
}

.contact-cards__items {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -30px;
  margin-top: 55px;
}

.contact-cards__item {
  -ms-flex: 0 0 25%;
      flex: 0 0 25%;
  max-width: 25%;
  padding-left: 30px;
  margin-bottom: 40px;
}

.contact-cards__icon {
  width: 60px;
  height: 60px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  background-color: #105c83;
  color: #fff;
  font-size: 22px;
  margin-bottom: 22px;
}

.contact-cards__name {
  font-size: 19px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

.contact-cards__text {
  font-size: 15px;
  line-height: 28px;
  color: rgba(20, 27, 41, 0.6);
}

.contact-cards__text a {
  color: rgba(20, 27, 41, 0.6);
  text-decoration: none;
}

.contact-cards__text a:hover {
  color: #105c83;
}

@media (max-width: 991px) {
  .contact-cards__item {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  .contact-cards__item {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 11. CTA band ----------------------------------------------------------- */
.page-cta__section {
  position: relative;
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  /* main.css gives .light-bg an 1850px decorative :after — clip it. */
  overflow: hidden;
}

.page-cta__section:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(11, 26, 36, 0.85);
}

.page-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-cta__title {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
}

.page-cta__text {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.75);
}

.page-cta__buttons {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 575px) {
  .page-cta__title {
    font-size: 26px;
    line-height: 34px;
  }
}

/* Fill the fixed-height contact photo frame rather than letterboxing it. */
.contact-form__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 12. Presentation still + footer ---------------------------------------- */
.presentation__video-preview--still {
  background-size: cover;
  background-position: center;
}

.app-footer__hours {
  font-size: 14px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 18px;
}

.footer-links {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  -webkit-transition: color 0.25s ease;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
}
