/* BOTA — botaservices.com
   Pegnumi Standard · dark-first #050709 · atmospheric · anti-slop
   Brand canon: Burnt Copper #C84E00 / Void Black #0A0A0A / Linen #F4F0EB
   Typography: Space Grotesk 300/700, Big Shoulders Display 700
   No border-radius. No gradients. No shadows. No emoji. */

:root {
  --copper: #C84E00;
  --black: #0A0A0A;
  --deep: #050709;
  --surface: #0D0F11;
  --linen: #F4F0EB;
  --linen-70: rgba(244, 240, 235, 0.7);
  --linen-40: rgba(244, 240, 235, 0.4);
  --linen-15: rgba(244, 240, 235, 0.15);
  --linen-08: rgba(244, 240, 235, 0.08);
  --copper-40: rgba(200, 78, 0, 0.4);

  /* Material-derived category accents — service headers only */
  --mat-gas: #C84E00;
  --mat-pump: #5A7A60;
  --mat-elec: #6889A5;
  --mat-ac: #7B8FA0;
  --mat-prop: #8A8378;

  --font-body: 'Space Grotesk', sans-serif;
  --font-display: 'Big Shoulders Display', sans-serif;

  --weight-light: 300;
  --weight-bold: 700;

  --section-pad: clamp(5rem, 14vw, 10rem);
  --content-max: 1200px;
  --gutter: 1.5rem;

  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.8125rem;
  --text-h2: clamp(2rem, 5vw, 3rem);
  --text-h3: clamp(1rem, 2vw, 1.25rem);
  --text-hero: clamp(3rem, 11vw, 7.5rem);
  --text-slogan: clamp(1.125rem, 3vw, 1.75rem);
  --text-step: clamp(4rem, 12vw, 8rem);
  --text-cta-title: clamp(2rem, 6vw, 4rem);

  --lh-body: 1.6;
  --lh-heading: 1.05;
  --lh-hero: 0.92;
}


/* ========== RESET ========== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--linen);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--linen); }

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

*:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ========== NAV ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--deep);
  border-bottom: 1px solid var(--copper);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  color: var(--linen-70);
  font-weight: var(--weight-light);
  font-size: var(--text-small);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--linen);
  text-decoration: none;
}

.nav__cta {
  background: var(--copper);
  color: var(--deep);
  font-weight: var(--weight-bold);
  padding: 0.5rem 1.25rem;
  font-size: var(--text-small);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav__cta:hover {
  text-decoration: none;
  color: var(--deep);
  opacity: 0.85;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--linen);
  transition: transform 0.3s, opacity 0.3s;
}


/* ========== HERO ========== */
/* Content pushed to the bottom of the viewport.
   Typography IS the composition — no decorative elements. */

.hero {
  background: var(--deep);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 var(--gutter) clamp(4rem, 10vw, 8rem);
}

.hero__content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-hero);
  line-height: var(--lh-hero);
  color: var(--linen);
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.hero__sub {
  font-weight: var(--weight-light);
  font-size: var(--text-body);
  color: var(--linen-70);
  line-height: var(--lh-body);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 36rem;
}

.slogan {
  font-weight: var(--weight-bold);
  font-size: var(--text-slogan);
  color: var(--linen);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Thin copper rule above the slogan — catalogue divider */
.slogan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--copper);
}

.slogan__slash {
  color: var(--copper);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--text-body);
  padding: 1rem 2rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.85;
}

.btn--primary {
  background: var(--copper);
  color: var(--deep);
}

.btn--primary:hover {
  color: var(--deep);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--linen-40);
  color: var(--linen);
}

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

.btn--outline-dark {
  background: transparent;
  border: 1px solid var(--linen-40);
  color: var(--linen);
}

.hero__trust {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.hero__trust span {
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
  color: var(--copper);
}

.hero__trust span + span::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.7em;
  background: var(--copper-40);
  margin-right: 2rem;
  vertical-align: middle;
}


/* ========== SECTIONS ========== */
/* Dark-first: no linen backgrounds.
   --deep and --surface alternate for subtle rhythm. */

.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--deep);
  color: var(--linen);
}

.section--linen {
  background: var(--surface);
  color: var(--linen);
}

.section__title {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  color: var(--linen);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section__title--light {
  color: var(--linen);
}


/* ========== SERVICES ========== */
/* Material-derived accents on category headers.
   Clean list — no card decoration, no tags. */

.services__category {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--linen-08);
}

.services__category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.services__cat-title {
  font-weight: var(--weight-bold);
  font-size: var(--text-h3);
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid currentColor;
}

/* Material-derived category colours */
.services__category:nth-child(1) .services__cat-title { color: var(--mat-gas); }
.services__category:nth-child(2) .services__cat-title { color: var(--mat-pump); }
.services__category:nth-child(3) .services__cat-title { color: var(--mat-elec); }
.services__category:nth-child(4) .services__cat-title { color: var(--mat-ac); }
.services__category:nth-child(5) .services__cat-title { color: var(--mat-prop); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--linen-08);
}

.service-card:last-child {
  border-bottom: none;
}

.service-card__name {
  font-weight: var(--weight-bold);
  font-size: var(--text-body);
  color: var(--linen);
  margin-bottom: 0.25rem;
}

.service-card__desc {
  font-weight: var(--weight-light);
  font-size: var(--text-small);
  color: var(--linen-70);
}


/* ========== COVERAGE ========== */

.coverage__copy {
  font-weight: var(--weight-light);
  color: var(--linen-70);
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.coverage__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.coverage__areas span {
  font-weight: var(--weight-bold);
  font-size: var(--text-body);
  color: var(--linen);
  padding: 0;
  border: none;
}

.coverage__cta-text {
  color: var(--linen-70);
  font-weight: var(--weight-light);
  margin-bottom: 1.5rem;
}


/* ========== HOW WE WORK ========== */
/* The rate as the graphic event.
   Step numbers at display scale — the number IS the visual. */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4rem);
}

.step__number {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-step);
  color: var(--copper);
  line-height: 0.85;
  display: block;
  margin-bottom: 1rem;
}

.step__title {
  font-weight: var(--weight-bold);
  font-size: var(--text-body);
  color: var(--linen);
  margin-bottom: 0.5rem;
}

.step__desc {
  font-weight: var(--weight-light);
  font-size: var(--text-small);
  color: var(--linen-70);
  max-width: 20rem;
}


/* ========== TRUST STRIP ========== */
/* Austere, monochrome. Accreditations present but understated. */

.trust-strip {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--deep);
  text-align: left;
  border-top: 1px solid var(--linen-08);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Invert dark logos to white — monochrome treatment */
.trust-strip__inner img {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.trust-strip__text {
  font-weight: var(--weight-bold);
  font-size: var(--text-small);
  color: var(--copper);
}

.trust-strip__sub {
  font-weight: var(--weight-light);
  font-size: var(--text-xs);
  color: var(--linen-40);
  max-width: 600px;
}


/* ========== QUOTE CTA ========== */

.cta-block {
  text-align: left;
}

.cta-block__title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-cta-title);
  color: var(--linen);
  line-height: var(--lh-heading);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-block__copy {
  font-weight: var(--weight-light);
  color: var(--linen-70);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.cta-block__buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}


/* ========== CALLBACK FORM ========== */

.callback {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.callback__title {
  font-weight: var(--weight-bold);
  font-size: var(--text-h2);
  color: var(--linen);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: left;
}

.callback__form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.callback__form input,
.callback__form textarea {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--text-body);
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--linen-15);
  color: var(--linen);
  width: 100%;
  transition: border-color 0.2s;
}

.callback__form input:focus,
.callback__form textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.callback__form input::placeholder,
.callback__form textarea::placeholder {
  color: var(--linen-40);
}

.callback__form button {
  align-self: flex-start;
}


/* ========== FOOTER ========== */

.footer {
  background: var(--deep);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--linen-08);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__brand .slogan {
  font-size: var(--text-small);
  font-weight: var(--weight-bold);
  margin-bottom: 0;
  margin-top: 0.75rem;
  padding-top: 0;
}

/* No copper rule on footer slogan */
.footer__brand .slogan::before {
  display: none;
}

.footer__contact a,
.footer__contact span {
  color: var(--linen-70);
  font-size: var(--text-small);
  font-weight: var(--weight-light);
  display: block;
  line-height: 2;
}

.footer__contact a:hover {
  color: var(--linen);
}

.footer__legal span {
  color: var(--linen-40);
  font-size: var(--text-xs);
  font-weight: var(--weight-light);
  display: block;
  line-height: 2;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linen-08);
  font-size: var(--text-xs);
}

.footer__bottom a {
  color: var(--linen-40);
}

.footer__bottom a:hover {
  color: var(--linen);
}


/* ========== MOBILE CTA ========== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--copper);
  color: var(--deep);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-align: center;
  padding: 1rem;
  z-index: 100;
  text-decoration: none;
}

.mobile-cta:hover {
  text-decoration: none;
  color: var(--deep);
}


/* ========== RESPONSIVE ========== */

@media (max-width: 767px) {
  :root {
    --gutter: 1.25rem;
  }

  .mobile-cta { display: block; }
  body { padding-bottom: 3.5rem; }

  .nav__links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--deep);
    flex-direction: column;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--linen-08);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__burger {
    display: flex;
  }

  .nav__cta {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 var(--gutter) 3rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero__trust span + span::before {
    display: none;
  }

  .cta-block__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .callback__form button {
    align-self: stretch;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

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

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

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ========== ACCESSIBILITY ========== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
