/*
Theme Name: BT Solar
Theme URI: https://kkcsi.com/
Author: kkcsi.com
Author URI: https://kkcsi.com/
Description: A self-contained solar company website theme for BT Solar Sdn Bhd in Sabah, Malaysia.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bt-solar
Tags: custom-logo, custom-menu, featured-images, full-width-template
*/

:root {
  --bt-ink: #111827;
  --bt-muted: #58606d;
  --bt-orange: #ff9f00;
  --bt-orange-dark: #d66d00;
  --bt-red: #d92316;
  --bt-blue: #172b85;
  --bt-sky: #e8f7ff;
  --bt-soft: #fff7e6;
  --bt-line: #eadfca;
  --bt-white: #fff;
  --bt-radius: 8px;
  --bt-shadow: 0 18px 54px rgba(17, 24, 39, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--bt-ink);
  background: var(--bt-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--bt-blue);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover,
a:focus {
  color: var(--bt-orange-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(255, 159, 0, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--bt-radius);
  color: var(--bt-ink);
  background: var(--bt-orange);
  font-weight: 950;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap,
.header-inner,
.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 86px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bt-line);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 86px;
  color: var(--bt-ink);
  font-weight: 900;
}

.brand:hover,
.brand:focus {
  color: var(--bt-blue);
  transform: translateY(-1px);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--bt-white);
  background: radial-gradient(circle at 68% 42%, var(--bt-red) 0 18%, transparent 19%), linear-gradient(135deg, var(--bt-blue), #4b2b91);
  box-shadow: 0 10px 28px rgba(23, 43, 133, 0.18);
}

.brand-logo-img {
  display: block;
  width: 118px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 118px;
}

.brand-logo span {
  color: var(--bt-orange);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--bt-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  padding: 9px 12px;
  background: var(--bt-white);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--bt-radius);
  color: var(--bt-ink);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu a[aria-current="page"],
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--bt-blue);
  background: var(--bt-soft);
  border-color: var(--bt-line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: end;
  color: var(--bt-white);
  background: #1c160d;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 159, 0, 0.34), transparent 26%),
    linear-gradient(90deg, rgba(20, 14, 9, 0.92), rgba(20, 14, 9, 0.58) 56%, rgba(20, 14, 9, 0.18)),
    linear-gradient(0deg, rgba(20, 14, 9, 0.74), rgba(20, 14, 9, 0.08) 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 128px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bt-orange);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--bt-radius);
  background: var(--bt-orange);
  color: #231509;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(255, 159, 0, 0.28);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
  color: var(--bt-white);
  background: var(--bt-orange-dark);
  box-shadow: 0 18px 38px rgba(214, 109, 0, 0.3);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--bt-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--bt-ink);
  background: var(--bt-white);
  border-color: var(--bt-white);
}

.button.secondary.dark {
  color: var(--bt-blue);
  background: var(--bt-white);
  border-color: var(--bt-line);
}

.button.secondary.dark:hover,
.button.secondary.dark:focus {
  color: var(--bt-white);
  background: var(--bt-blue);
  border-color: var(--bt-blue);
}

.section {
  padding: 86px 0;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--bt-shadow);
}

.trust-grid div {
  padding: 16px;
  border-radius: var(--bt-radius);
  background: var(--bt-soft);
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.trust-grid div:hover {
  background: var(--bt-white);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  transform: translateY(-3px);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--bt-ink);
}

.trust-grid span {
  margin-top: 4px;
  color: var(--bt-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.floating-quote {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #231509;
  background: var(--bt-orange);
  box-shadow: 0 18px 42px rgba(255, 159, 0, 0.34);
  font-weight: 950;
}

.floating-quote:hover,
.floating-quote:focus {
  color: var(--bt-white);
  background: var(--bt-orange-dark);
  transform: translateY(-3px);
}

.savings-cta {
  padding: 64px 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 159, 0, 0.2), transparent 26%),
    linear-gradient(135deg, #111827, #172b85);
}

.savings-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--bt-white);
}

.savings-panel h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.savings-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.section.soft {
  background: var(--bt-soft);
}

.capability-section {
  background:
    linear-gradient(135deg, rgba(255, 159, 0, 0.12), rgba(23, 43, 133, 0.08)),
    var(--bt-white);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading h2,
.entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-heading p,
.card p,
.post-card p {
  color: var(--bt-muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.post-card,
.form-panel,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--bt-orange), var(--bt-red), var(--bt-blue));
}

.card h3,
.post-card h2 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.card:hover,
.post-card:hover,
.form-panel:hover,
.contact-card:hover {
  border-color: rgba(255, 159, 0, 0.6);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.12);
  transform: translateY(-4px);
}

.card a:not(.button),
.post-card a:not(.button),
.site-footer a {
  font-weight: 850;
}

.card a:not(.button):hover,
.card a:not(.button):focus,
.post-card a:not(.button):hover,
.post-card a:not(.button):focus,
.site-footer a:hover,
.site-footer a:focus {
  color: var(--bt-orange);
  text-decoration: underline;
}

.feature-band,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--bt-radius);
  box-shadow: var(--bt-shadow);
  background: var(--bt-ink);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 260ms ease, transform 360ms ease;
}

.feature-media:hover {
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.18);
  transform: translateY(-4px);
}

.feature-media:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  color: var(--bt-ink);
  font-weight: 800;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.check-list p:hover {
  border-color: rgba(255, 159, 0, 0.6);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  transform: translateX(4px);
}

.check-list p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bt-orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 22px;
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  border-left: 4px solid var(--bt-orange);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.stat:hover {
  border-left-color: var(--bt-blue);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
  transform: translateY(-3px);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--bt-muted);
  font-weight: 700;
}

.process {
  counter-reset: step;
}

.process .card {
  padding-top: 62px;
}

.process .card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--bt-orange-dark);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.project-gallery figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--bt-radius);
  background: var(--bt-ink);
  box-shadow: var(--bt-shadow);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 420ms ease;
}

.project-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: var(--bt-radius);
  background: rgba(17, 24, 39, 0.78);
  color: var(--bt-white);
  font-weight: 850;
  transition: background-color 180ms ease, transform 180ms ease;
}

.project-gallery figure:hover,
.mini-gallery figure:hover {
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.18);
  transform: translateY(-4px);
}

.project-gallery figure:hover img,
.mini-gallery figure:hover img,
.project-page-grid article:hover img,
.service-tile:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.045);
}

.project-gallery figure:hover figcaption,
.mini-gallery figure:hover figcaption {
  background: rgba(17, 24, 39, 0.9);
  transform: translateY(-3px);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mini-gallery figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--bt-radius);
  background: var(--bt-ink);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.mini-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 420ms ease;
}

.mini-gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border-radius: var(--bt-radius);
  background: rgba(17, 24, 39, 0.78);
  color: var(--bt-white);
  font-size: 0.88rem;
  font-weight: 850;
  transition: background-color 180ms ease, transform 180ms ease;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 34px;
  align-items: start;
}

.faq-layout h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.faq-layout > div:first-child p:not(.eyebrow) {
  color: var(--bt-muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(255, 159, 0, 0.6);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--bt-ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--bt-muted);
}

.project-page-grid,
.service-page-grid {
  display: grid;
  gap: 20px;
}

.project-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-page-grid article,
.service-tile {
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  box-shadow: var(--bt-shadow);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.project-page-grid img,
.service-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 260ms ease, transform 420ms ease;
}

.project-page-grid div,
.service-tile div {
  padding: 24px;
}

.project-page-grid span,
.service-tile span {
  color: var(--bt-orange-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-page-grid h2,
.service-tile h2 {
  margin: 8px 0 10px;
  line-height: 1.1;
}

.project-page-grid p,
.service-tile p {
  color: var(--bt-muted);
}

.project-page-grid article:hover,
.service-tile:hover {
  border-color: rgba(255, 159, 0, 0.62);
  box-shadow: 0 24px 62px rgba(17, 24, 39, 0.16);
  transform: translateY(-5px);
}

.service-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-tile {
  display: flex;
  flex-direction: column;
}

.service-tile div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-tile .button {
  margin-top: auto;
}

.footer-logo {
  display: block;
  width: 150px;
  max-height: 76px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: var(--bt-radius);
  background: var(--bt-white);
  object-fit: contain;
}

.page-hero {
  padding: 96px 0;
  color: var(--bt-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 159, 0, 0.25), transparent 28%),
    linear-gradient(135deg, #1b160d, #502b08 54%, #172b85);
}

.content-area {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bt-contact-form {
  display: grid;
  gap: 18px;
}

.bt-contact-form p {
  margin: 0;
}

.bt-contact-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 850;
}

.bt-contact-form input,
.bt-contact-form select,
.bt-contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  background: #fffdf8;
  color: var(--bt-ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.bt-contact-form input:hover,
.bt-contact-form select:hover,
.bt-contact-form textarea:hover,
.bt-contact-form input:focus,
.bt-contact-form select:focus,
.bt-contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 159, 0, 0.78);
  background: var(--bt-white);
  box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.14);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--bt-radius);
  font-weight: 850;
}

.form-notice.is-success {
  color: #513400;
  background: #fff4d8;
  border: 1px solid #ffd487;
}

.form-notice.is-error {
  color: #7a1f1f;
  background: #fff0f0;
  border: 1px solid #f0b5b5;
}

.site-footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 159, 0, 0.24), transparent 28%),
    #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 42px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--bt-white);
}

.footer-menu,
.footer-contact {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.footer-menu a[aria-current="page"] {
  color: var(--bt-orange);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-cta-panel {
  padding: 34px;
  border-radius: var(--bt-radius);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 159, 0, 0.2), transparent 26%),
    linear-gradient(135deg, #111827, #172b85);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .button:hover,
  .button:focus,
  .card:hover,
  .post-card:hover,
  .form-panel:hover,
  .contact-card:hover,
  .feature-media:hover,
  .project-gallery figure:hover,
  .mini-gallery figure:hover,
  .project-page-grid article:hover,
  .service-tile:hover,
  .stat:hover,
  .check-list p:hover,
  .faq-list details:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-radius);
    background: var(--bt-white);
    box-shadow: var(--bt-shadow);
  }

  .site-navigation.is-open {
    display: block;
  }

  .primary-menu,
  .primary-menu a {
    display: block;
  }

  .primary-menu a {
    min-height: 46px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .trust-grid,
  .feature-band,
  .contact-layout,
  .faq-layout,
  .footer-grid,
  .project-gallery,
  .mini-gallery,
  .project-page-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .savings-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wrap,
  .header-inner,
  .hero-inner,
  .content-area {
    width: min(100% - 28px, 1180px);
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-logo-img {
    width: 96px;
    flex-basis: 96px;
  }

  .floating-quote {
    right: 14px;
    bottom: 14px;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.3rem);
    line-height: 1;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .section {
    padding: 58px 0;
  }

  .stats,
  .form-row.two {
    grid-template-columns: 1fr;
  }
}
