:root {
  --navy: #10263b;
  --navy-light: #1c3c5a;
  --orange: #f08a24;
  --orange-dark: #d6761a;
  --gray: #5b6875;
  --light: #f4f6f8;
  --white: #ffffff;
  --wa: #25d366;
  --shadow: 0 10px 30px rgba(16, 38, 59, 0.12);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(240, 138, 36, .2);
}

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

/* Icons */
.icon {
  width: 1.15em; height: 1.15em;
  display: inline-block; vertical-align: -0.2em;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--solid { fill: currentColor; stroke: none; }

h1, h2, h3 { font-family: "Oswald", sans-serif; line-height: 1.15; letter-spacing: .3px; }

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

.container { width: min(1140px, 92%); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 138, 36, .35); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; text-align: center; }

/* Topbar */
.topbar { background: var(--navy); color: #cfdae6; font-size: .85rem; }
.topbar__inner { display: flex; gap: 14px; align-items: center; justify-content: flex-end; padding: 8px 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item:hover { color: #fff; }
.topbar__item--area { color: var(--orange); font-weight: 600; margin-right: auto; }
.topbar__divider { opacity: .4; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 10px;
  display: block; flex-shrink: 0;
}
.brand__text strong { display: block; font-family: "Oswald", sans-serif; font-size: 1.15rem; color: var(--navy); }
.brand__text small { color: var(--gray); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; color: var(--navy); transition: color .2s ease; }
.nav a:hover { color: var(--orange); }
.nav__cta { background: var(--navy); color: #fff !important; padding: 10px 20px; border-radius: 50px; }
.nav__cta:hover { background: var(--navy-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(135deg, rgba(13,32,51,.4), rgba(28,60,90,.4)), url("images/exterior-painting-pool-house-pretoria.jpeg");
  background-size: cover; background-position: center;
  padding: 120px 0 130px;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,32,51,.55), rgba(13,32,51,.78)); }
.hero__content { position: relative; max-width: 760px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 3px; color: var(--orange); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 20px; }
.hero__lead { font-size: 1.1rem; color: #d7e1eb; margin-bottom: 20px; }
.hero__area { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; background: rgba(240,138,36,.18); border: 1px solid rgba(240,138,36,.5); padding: 8px 18px; border-radius: 50px; margin-bottom: 30px; }
.hero__area .icon { color: var(--orange); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Highlights */
.highlights { margin-top: -60px; position: relative; z-index: 5; }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.highlight h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--navy); }
.highlight p { color: var(--gray); font-size: .95rem; }

/* Sections */
.section { padding: 90px 0; }
.section--alt { background: var(--light); }
.section--dark { background: var(--navy); color: #e6edf4; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__eyebrow { text-transform: uppercase; letter-spacing: 3px; color: var(--orange); font-weight: 700; font-size: .82rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: inherit; margin-bottom: 12px; }
.section--dark .section__title { color: #fff; }
.section__sub { color: var(--gray); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid #e7ecf1; border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange); }
.service-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; background: rgba(240,138,36,.12); color: var(--orange); }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--navy); }
.service-card p { color: var(--gray); font-size: .92rem; }

/* Work showcase CTA band */
.cta-band {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(135deg, #10263b, #1c3c5a), url("images/roof-painting-team-pretoria.jpeg");
  background-size: cover; background-position: center; background-attachment: fixed;
  padding: 90px 0;
}
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,32,51,.78), rgba(13,32,51,.88)); }
.cta-band__content { position: relative; max-width: 680px; }
.cta-band__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 10px 0 14px; color: #fff; }
.cta-band__text { color: #d7e1eb; margin-bottom: 28px; font-size: 1.05rem; }

/* Gallery / Our Work */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0d2033; aspect-ratio: 4 / 3; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  color: #fff; font-family: "Oswald", sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  background: linear-gradient(180deg, rgba(13,32,51,0), rgba(13,32,51,.85));
}
.gallery__cta { text-align: center; margin-top: 32px; }

/* Trucks */
.trucks { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.section--trucks {
  position: relative;
  background: linear-gradient(rgba(244,246,248,.92), rgba(244,246,248,.92)), url("images/truck-for-hire-hartbeespoort.jpeg");
  background-size: cover; background-position: center;
}
.trucks__text p { color: var(--gray); margin-bottom: 16px; }
.section--alt .trucks__text .section__title { color: var(--navy); }
.trucks__note { display: flex; align-items: flex-start; gap: 10px; background: #fff; border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 8px; color: var(--navy) !important; }
.trucks__note .icon { color: var(--orange); width: 22px; height: 22px; margin-top: 2px; }
.trucks__card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 32px; position: relative; box-shadow: var(--shadow); }
.trucks__badge { position: absolute; top: -14px; right: 24px; background: var(--orange); color: #fff; padding: 6px 16px; border-radius: 50px; font-family: "Oswald", sans-serif; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.trucks__photo { margin: 0 0 22px; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.trucks__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trucks__list { list-style: none; }
.trucks__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.trucks__list li:last-child { border-bottom: none; }
.trucks__list .icon { color: var(--orange); width: 20px; height: 20px; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.about__text p { color: var(--gray); margin-bottom: 16px; }
.areas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.areas__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-family: "Oswald", sans-serif; }
.areas__label .icon { color: var(--orange); }
.areas__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag { background: rgba(240,138,36,.12); color: var(--orange-dark); border: 1px solid rgba(240,138,36,.35); padding: 6px 14px; border-radius: 50px; font-weight: 600; font-size: .9rem; }
.about__stats { display: grid; gap: 18px; }
.stat { background: var(--light); border-radius: var(--radius); padding: 24px; text-align: center; border-bottom: 3px solid var(--orange); }
.stat__num { display: block; font-family: "Oswald", sans-serif; font-size: 2.2rem; color: var(--navy); }
.stat__label { color: var(--gray); font-size: .9rem; }

/* Quote */
.section--quote {
  position: relative;
  background: var(--navy);
}
.section--quote::before {
  content: ""; position: absolute; inset: 0;
  background: url("images/new-house-construction-brits.jpeg");
  background-size: cover; background-position: center; opacity: .12;
}
.section--quote .container { position: relative; z-index: 1; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.quote__intro p { color: #c4d1de; }
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-card { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 16px 20px; border-radius: 12px; transition: background .2s ease, transform .15s ease; }
.contact-card:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card small { display: block; color: #9fb2c4; font-size: .8rem; }
.contact-card strong { font-size: 1.1rem; color: #fff; }
.contact-card--wa { border-color: rgba(37,211,102,.5); }
.contact-card--wa .contact-card__icon { background: rgba(37,211,102,.2); color: var(--wa); }

.quote-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7dee6; border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--navy); background: #fbfcfd;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,138,36,.15); }
.quote-form__hint { text-align: center; color: var(--gray); font-size: .82rem; margin-top: 12px; }

/* Footer */
.footer { background: #0b1b2a; color: #c4d1de; padding: 50px 0 24px; }
.footer__inner { display: grid; gap: 22px; text-align: center; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 14px; }
.footer__brand strong { color: #fff; font-family: "Oswald", sans-serif; font-size: 1.15rem; }
.footer__brand p { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: #8aa0b4; }
.footer__contact { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer__contact a { font-weight: 600; }
.footer__contact a:hover { color: var(--orange); }
.footer__area { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #9fb2c4; font-size: .9rem; }
.footer__area .icon { color: var(--orange); }
.footer__seo { max-width: 640px; margin: 4px auto 0; font-size: .82rem; color: #7b8fa3; line-height: 1.5; }
.footer__copy { font-size: .85rem; color: #7b8fa3; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .2s ease;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* Mobile sticky action bar */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: #fff; box-shadow: 0 -4px 16px rgba(16, 38, 59, .14);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar__btn {
  flex: 1; text-align: center; padding: 13px 6px; border-radius: 10px;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: .95rem;
  letter-spacing: .4px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mobile-bar__btn .icon { width: 18px; height: 18px; }
.mobile-bar__btn--call { background: var(--navy); color: #fff; }
.mobile-bar__btn--wa { background: var(--wa); color: #fff; }
.mobile-bar__btn--quote { background: var(--orange); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .cta-band { background-attachment: scroll; padding: 64px 0; }
  .highlights__grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .trucks, .about, .quote { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid #eef1f4; min-height: 48px; display: flex; align-items: center; }
  .nav__cta { border-radius: 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }

  /* Show mobile action bar, hide floating bubble, keep content clear of the bar */
  .mobile-bar { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 72px; }
  .btn { padding: 15px 28px; }
}

@media (max-width: 520px) {
  .container { width: 90%; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .topbar__inner { justify-content: center; }
  .hero { padding: 80px 0 90px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .trucks__card { padding: 32px 24px; }
  .quote-form { padding: 24px; }
  .footer__contact { gap: 16px; }
}
