/* COLOURS & SETTINGS */
:root {
  --header-bg: #575757d9;
  --header-text: #e5e7eb;
  --accent: #6f6647;
  --accent-text: #ffffff;
  --page-bg: #cfc6be;
  --alt-bg: #f2f2f2;
  --alt-bg2: antiquewhite;
  --text: #323e48;
  --heading: #323e48;

  --header-height: 80px;
  --font: "Figtree", Verdana, Geneva, Tahoma, sans-serif;
}

/* ============================================
   BASE
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);  /* stops the header covering section titles */
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--heading);
  margin-top: 0;
}

/* ============================================
   HEADER (sticky)
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.haramon {
  height: 150px;
}

.images1 {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}

.cityscape {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
}

.company-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--header-text);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--header-text);
  text-decoration: none;
  font-size: 1.1rem;
}

.nav a:hover {
  text-decoration: underline;
}

/* ============================================
   STRAPLINE / NOTICE BANNER
   ============================================ */
.strapline {
  background: rgb(70 90 82 / 70%);
  border-left: 8px solid antiquewhite;
  padding: 18px 24px;
  text-align: center;
  margin-bottom: 2rem;
}

.strapline p {
  margin: 0;
  color: #ffffff;
  font-family: "Figtree", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* full-width background bands with centred content */
.section.alt,
.section.hero {
  max-width: none;
  padding-left: calc((100% - 1000px) / 2 + 20px);
  padding-right: calc((100% - 1000px) / 2 + 20px);
}

.section.alt {
  background: var(--alt-bg);
}

/* Quote band (used with class="strapline quote") */
.quote {
  padding: 80px 20px;
  max-width: none;
  background: var(--alt-bg2);
  border-left: 8px solid var(--accent);
  margin: 0 auto;
}

/* the strapline text is white, so reset it to dark on the cream band */
.quote p {
  color: var(--text);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
}

.quote-by {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-style: normal;
  opacity: 0.85;
}

.hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero h1 {
  font-size: 2.8rem;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-top: 2rem;
}

.button:hover {
  opacity: 0.85;
}

/* Services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--alt-bg);
  padding: 24px;
  border-radius: 10px;
}

/* Values: four columns */
.cards-four {
  grid-template-columns: repeat(4, 1fr);
}

.value {
  border-top: 6px solid var(--accent);
}

.value-num {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
}

.card2 {
  background: var(--alt-bg2);
  padding: 24px;
  border-radius: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--header-bg);
  color: var(--header-text);
  text-align: center;
  padding: 20px;
}

.site-footer p {
  margin: 0;
}

/* centre the Legal / Privacy links (flex ignores text-align) */
.site-footer .nav {
  justify-content: center;
  margin-top: 8px;
}

/* ============================================
   BACK TO TOP ARROW
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 2.6rem;
  text-decoration: none;
  border-radius: 8px;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Values: two columns on tablets */
@media (max-width: 960px) {
  .cards-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 700px) {
  :root {
    --header-height: 110px;
  }

  .site-header {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .logo {
    height: 36px;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .haramon {
    height: 50px;
  }

  .larger {
    height: 100px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .section.alt,
  .section.hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cards-four {
    grid-template-columns: 1fr;
  }
}
