/* ================================
   BRS CONSTRUCTION SERVICES LTD
   CLEAN WEBSITE STYLESHEET
================================ */

:root {
  --black: #050505;
  --charcoal: #111318;
  --soft: #f5f5f3;
  --white: #ffffff;
  --orange: #ff7a1a;
  --orange-dark: #e46100;
  --text: #151515;
  --muted: #626b76;
  --line: #e7e7e4;
  --radius: 22px;
  --max: 1160px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(1400px, calc(100% - 48px));
  margin: auto;
}

/* TOP BAR */

.topbar {
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
  flex-shrink: 0;
}

.brand img {
  width: 86px;
  height: 68px;
  object-fit: contain;
  background: #000;
  border-radius: 10px;
}

.brand span {
  line-height: 1.15;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: #ff9a43;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 17px;
  list-style: none;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--orange);
}

.mobile-toggle {
  display: none;
  background: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 9px 12px;
}

/* BUTTONS */

.btn-primary,
.btn-outline,
.btn-dark {
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #111 !important;
}

.btn-primary:hover {
  background: #ff9a43;
  transform: translateY(-1px);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.03);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-dark {
  background: #111;
  color: #fff !important;
}

.nav-btn {
  border-radius: 8px;
  padding: 12px 22px;
}

/* HERO */

.hero {
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.80),
      rgba(0,0,0,0.50),
      rgba(0,0,0,0.08)
    ),
    url("images/hero-project.jpg");

  background-size: cover;
  background-position: center;
  color: #fff;

  min-height: 640px;
  display: flex;
  align-items: center;
}

/* Page-specific hero images */

.hero-homeowners {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.08)),
    url("images/homeafter.jpg");
}

.hero-letting {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.08)),
    url("images/landafter.jpg");
}

.hero-insurance {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.08)),
    url("images/floorafter.jpg");
}

.hero-commercial {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.08)),
    url("images/floor2after.jpg");
}

.hero-capability {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.08)),
    url("images/hero-project.jpg");
}

/* This is the important bit for the mockup-style layout */
.hero-inner {
  width: min(720px, calc(100% - 32px));
  margin-left: max(32px, calc((100vw - var(--max)) / 2));
  margin-right: auto;
  padding: 88px 0;
  text-align: left;
}

.eyebrow {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.orange-rule {
  width: 72px;
  height: 5px;
  background: var(--orange);
  border-radius: 999px;
  margin: 24px 0 28px;
}

.hero p {
  font-size: 1.15rem;
  color: #eef1f5;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* TYPOGRAPHY */

h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin-bottom: 0;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 760px;
}

/* SECTIONS */

.section {
  padding: 82px 0;
}

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.section-dark .lead,
.section-dark p {
  color: #cfd6df;
}

.section-header {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* TRUST STRIP */

.trust-strip {
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.trust-grid span {
  color: #e8edf3;
  font-weight: 800;
  font-size: 0.95rem;
}

.trust-grid span::before {
  content: "✓";
  color: var(--orange);
  margin-right: 8px;
}

/* GRIDS */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  align-items: center;
}

/* CARDS */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.card p {
  color: var(--muted);
}

.card a:not(.btn):not(.btn-primary) {
  display: inline-block;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 900;
}

.section-dark .card {
  background: #191d24;
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.service-card {
  min-height: 260px;
}

.download-card .btn-primary {
  margin-top: 20px;
}

/* PROJECTS / BEFORE AFTER */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.project-grid.single-project {
  grid-template-columns: 1fr;
}

.project-card {
  width: 100%;
  padding: 20px;
}
.project-card h3 {
  margin-top: 18px;
  color: #fff;
}

.section:not(.section-dark) .project-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.section:not(.section-dark) .project-card h3 {
  color: var(--text);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.comparison-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.comparison-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.comparison-image span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.86);
  color: #fff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* IMAGES */

.feature-image,
.portrait {
  background: #fff;
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.portrait {
  width: 100%;
  max-width: 420px;
}

.portrait img {
  width: 100%;
  height: 560px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
}

/* LISTS */

.pill {
  display: none !important;
}

.list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.section-dark .list li {
  color: #cfd6df;
}

/* ABOUT */

.about-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1;
  margin-bottom: 24px;
}

.ben-name {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  color: #111;
}

.ben-tagline {
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* CTA / FORM */

.cta {
  background: linear-gradient(135deg, #080808, #1c2027);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
  box-shadow: var(--shadow);
}

.cta p {
  color: rgba(255,255,255,0.92);
  font-size: 1.12rem;
  line-height: 1.7;
}

.cta .lead {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 18px;
}

form {
  background: #fff;
  color: #111;
  border-radius: 24px;
  padding: 25px;
  display: grid;
  gap: 13px;
}

label {
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd2d9;
  border-radius: 14px;
  padding: 13px;
  margin-top: 6px;
  font: inherit;
}

textarea {
  min-height: 120px;
}

/* FOOTER */

footer {
  background: #000;
  color: #cfd6df;
  padding: 50px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 28px;
  margin-bottom: 30px;
}

footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

footer p {
  margin-bottom: 20px;
}

.small {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  color: #8c95a1;
  font-size: 0.86rem;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .menu.open {
    display: flex;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .split,
  .cta,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    margin-left: 16px;
    padding: 70px 0;
  }

  .brand img {
    width: 82px;
    height: 64px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    display: block;
  }

  .section {
    padding: 58px 0;
  }

  .hero-inner {
    padding: 62px 0;
  }

  .cta {
    padding: 28px;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .comparison-image img {
    height: 230px;
  }
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.office-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .office-gallery {
    grid-template-columns: 1fr;
  }

  .office-gallery img {
    height: 300px;
  }
}

.lead-wide {
  max-width: 100%;
}

.section-header-wide {
  max-width: 100%;
}

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

.project-card {
  padding: 24px;
}

.comparison-image img {
  height: 420px;
}

/* ================================
   CLEANER HEADER OVERRIDE
   Paste at very bottom of style.css
================================ */

/* Give the header more width */
.container {
  width: min(1480px, calc(100% - 64px));
  margin: auto;
}

/* Top contact bar */
.topbar {
  background: #000000;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Main header */
.nav {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

/* Logo / brand area */
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.brand img {
  width: 140px;
  height: 94px;
  object-fit: contain;
  background: #000000;
  border-radius: 10px;
}

.brand span {
  font-size: 1.08rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

/* Navigation links */
.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu a {
  opacity: 0.92;
}

.menu a:hover {
  color: var(--orange);
  opacity: 1;
}

/* Contact button in header */
.menu .btn-primary {
  margin-left: 8px;
  padding: 14px 24px;
  border-radius: 8px;
}

/* Tablet */
@media (max-width: 1100px) {
  .brand img {
    width: 110px;
    height: 78px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .menu {
    gap: 16px;
    font-size: 0.88rem;
  }
}

/* Mobile menu */
@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1480px);
  }

  .nav {
    min-height: 96px;
  }

  .mobile-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    background: #000000;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 18px;
  }

  .menu.open {
    display: flex;
  }

  .brand img {
    width: 92px;
    height: 68px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.6rem;
  }
}

/* FORCE HEADER OVERRIDE */

header .brand img {
  width: 140px !important;
  height: 94px !important;
}

header .menu {
  gap: 26px !important;
}

header .nav {
  min-height: 112px !important;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-inner span:last-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.about-text p {
  margin-bottom: 22px;
}

.project-intro {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  max-width: 100%;
  margin-bottom: 40px;
}

/* PROJECT CAROUSEL */

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.project-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 25px;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  min-width: 300px;
  max-width: 300px;
  position: relative;
}

.carousel-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.carousel-card span {
  position: absolute;
  bottom: 72px;
  left: 14px;
  background: rgba(0,0,0,0.86);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.carousel-card h3 {
  color: #fff;
  margin-top: 16px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #111;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #ff9a43;
}

/* ================================
   MOBILE FIXES - BRS WEBSITE
   Paste at very bottom of style.css
================================ */

/* Stop sideways scrolling / white space */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile top bar fix */
@media (max-width: 700px) {

  .topbar {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .topbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

}


/* Mobile header/nav fix */
@media (max-width: 900px) {

  .nav {
    min-height: 92px;
    position: relative;
  }

  .brand img {
    width: 84px;
    height: 62px;
  }

  .brand span {
    font-size: 0.9rem;
    white-space: normal;
  }

  .brand small {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .mobile-toggle {
    display: block !important;
    background: var(--orange) !important;
    color: #111111 !important;
    border: none !important;
    font-weight: 900;
    border-radius: 8px;
    padding: 10px 14px;
    z-index: 100;
  }

  .menu {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    width: 100%;
    background: #050505;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    z-index: 99;
  }

  .menu.open {
    display: flex !important;
  }

  .menu li,
  .menu a {
    width: 100%;
    color: #ffffff;
  }

  .menu .btn-primary {
    width: auto;
    background: var(--orange);
    color: #111111 !important;
  }

}


/* Fix footer buttons on mobile */
@media (max-width: 700px) {

  .footer-grid {
    gap: 34px;
  }

  .footer-facebook,
  .footer-checkatrade,
  footer .btn-primary {
    display: inline-flex !important;
    width: auto;
    max-width: 100%;
    margin-top: 12px;
  }

}


/* Before / after photo fixes */
.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.comparison-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.comparison-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Mobile before / after photos */
@media (max-width: 700px) {

  .before-after {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .comparison-image img {
    height: 260px;
    object-fit: cover;
    object-position: center;
  }

  .comparison-image span {
    font-size: 0.68rem;
    padding: 6px 10px;
    bottom: 10px;
    left: 10px;
  }

}


/* Very small phones */
@media (max-width: 430px) {

  .container {
    width: min(100% - 24px, 1480px);
  }

  .before-after {
    gap: 8px;
  }

  .comparison-image img {
    height: 220px;
  }

}

/* ================================
   STRONG MOBILE FIXES
   Paste at very bottom of style.css
================================ */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* TOP BAR MOBILE */
@media (max-width: 700px) {

  .topbar {
    padding: 8px 12px;
  }

  .topbar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .topbar-inner span {
    display: block !important;
    width: 100% !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

}


/* HEADER MOBILE */
@media (max-width: 900px) {

  header {
    overflow: visible !important;
  }

  .nav {
    min-height: 118px !important;
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
  }

  .brand {
    min-width: 0 !important;
    gap: 12px !important;
  }

  .brand img {
    width: 110px !important;
    height: 82px !important;
    flex-shrink: 0 !important;
  }

  .brand span {
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .brand small {
    font-size: 0.58rem !important;
    letter-spacing: 0.08em !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: var(--orange) !important;
    color: #111111 !important;

    border: none !important;
    border-radius: 8px !important;

    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;

    min-width: 78px !important;
    height: 48px !important;

    justify-self: end !important;
    z-index: 999 !important;
  }

  .menu {
    display: none !important;
    position: absolute !important;
    top: 118px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    background: #050505 !important;

    padding: 22px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;

    z-index: 998 !important;
  }

  .menu.open {
    display: flex !important;
  }

  .menu li,
  .menu a {
    width: 100% !important;
    color: #ffffff !important;
  }

  .menu .btn-primary {
    width: auto !important;
    background: var(--orange) !important;
    color: #111111 !important;
  }

}


/* PROJECT CARDS MOBILE */
@media (max-width: 700px) {

  .project-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .project-card {
    padding: 18px !important;
  }

  .before-after {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .comparison-image {
    border-radius: 18px !important;
  }

  .comparison-image img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 18px !important;
  }

  .comparison-image span {
    font-size: 0.65rem !important;
    padding: 6px 9px !important;
    bottom: 10px !important;
    left: 8px !important;
  }

  .project-card h3 {
    font-size: 1.45rem !important;
    line-height: 1.15 !important;
  }

}


/* VERY SMALL PHONES */
@media (max-width: 430px) {

  .container {
    width: calc(100% - 24px) !important;
  }

  .brand img {
    width: 96px !important;
    height: 72px !important;
  }

  .brand span {
    font-size: 0.86rem !important;
  }

  .comparison-image img {
    height: 230px !important;
  }

}

/* ================================
   FINAL TOP BAR MOBILE FIX
================================ */

@media (max-width: 700px) {

  .topbar {
    overflow: visible !important;
    height: auto !important;
  }

  .topbar .container,
  .topbar-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    text-align: center !important;
  }

  .topbar span {
    display: block !important;
    width: 100% !important;
    position: static !important;
    transform: none !important;
    white-space: normal !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }

}