/* ==========================================================================
   Mapendo Mining Group Limited — main stylesheet
   --------------------------------------------------------------------------
   01. Design tokens
   02. Base & helpers
   03. Buttons & section headings
   04. Header (top bar, masthead, navigation)
   05. Hero slider
   06. Page header
   07. Home sections
   08. About page
   09. Services page
   10. Contact page
   11. Footer
   12. Floating actions
   13. Motion
   14. Responsive
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  --gold: #efae16;
  --gold-soft: #f6c65b;
  --gold-dark: #d3970a;
  --ink: #121212;
  --ink-soft: #1c1c1c;
  --charcoal: #2c2c2c;
  --text: #3d3d3d;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --soft: #f5f5f5;
  --white: #ffffff;

  --container: 1240px;
  --gutter: 24px;
  --radius: 14px;
  --pill: 999px;

  --shadow-sm: 0 6px 24px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.13);
  --shadow-nav: 0 14px 34px rgba(0, 0, 0, 0.22);

  --font: "Roboto", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 02. Base & helpers ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[id] {
  scroll-margin-top: 120px;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--gold);
  color: #171717;
}

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 7vw, 104px) 0;
}

.section--soft {
  background: var(--soft);
}

.section--tight {
  padding-block: clamp(48px, 5vw, 72px);
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .label {
  color: var(--gold);
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .progress__head {
  color: var(--white);
}

.section--dark .progress__head b {
  color: var(--gold);
}

.section--dark .progress__track {
  background: rgba(255, 255, 255, 0.14);
}

.section--dark .split__media img {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.why-us__cta {
  margin-top: 34px;
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--gold);
  color: #171717;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 64ch;
}

/* 03. Buttons & section headings ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn svg {
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--gold {
  background: var(--gold);
  color: #171717;
}

.btn--gold:hover {
  background: #171717;
  color: var(--gold);
}

.btn--dark {
  background: #171717;
  color: var(--white);
}

.btn--dark:hover {
  background: var(--gold);
  color: #171717;
}

.btn--outline {
  border-color: var(--gold);
  background: transparent;
  color: #171717;
}

.btn--outline:hover {
  background: var(--gold);
  color: #171717;
}

.btn--block {
  width: 100%;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin: 10px 0 18px;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  text-transform: capitalize;
}

.section-title span {
  color: var(--gold);
}

.section-head {
  max-width: 720px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .label {
  justify-content: center;
}

.section-head--center .label::after {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.section-head--center .lead {
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link svg {
  transition: transform 0.3s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* 04. Header -------------------------------------------------------------- */
.topbar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.topbar__note svg {
  flex: none;
  color: var(--gold);
}

.socials {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.masthead {
  background: var(--white);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 76px;
  width: auto;
}

.contact-list {
  display: flex;
  align-items: center;
  gap: 46px;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.contact-item > span {
  min-width: 0;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(239, 174, 22, 0.55);
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

a.contact-item__icon:hover,
.contact-item:hover .contact-item__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #171717;
}

.contact-item__label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.contact-item__value {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-item__value:hover {
  color: var(--gold-dark);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-bottom: -34px;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 9px 9px 14px;
  background: var(--charcoal);
  border-radius: var(--pill);
  box-shadow: var(--shadow-nav);
  transition: box-shadow 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 12px 22px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-menu a.is-active {
  background: var(--gold);
  color: #171717;
}

.nav-cta {
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border: 0;
  background: none;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 05. Hero slider --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 580px;
  height: min(84vh, 800px);
  overflow: hidden;
  background: #0d0d0d;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 90px var(--gutter) 110px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform 9s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 6, 2, 0.56) 0%,
    rgba(8, 6, 2, 0.26) 42%,
    rgba(8, 6, 2, 0.68) 100%
  );
}

.hero__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.9s var(--ease) 0.15s, opacity 0.9s var(--ease) 0.15s;
}

.hero__slide.is-active .hero__caption {
  transform: none;
  opacity: 1;
}

.hero__title {
  max-width: 100%;
  margin: 0;
  padding: 16px clamp(20px, 4vw, 48px);
  border-radius: 8px;
  background: rgba(16, 16, 16, 0.82);
  color: var(--gold);
  font-size: clamp(1.6rem, 4.6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__subtitle {
  margin: 0;
  padding: 10px clamp(18px, 3vw, 34px);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #232323;
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero__nav:hover {
  background: var(--gold);
  color: #171717;
}

.hero__nav--prev {
  left: clamp(12px, 2.4vw, 28px);
}

.hero__nav--next {
  right: clamp(12px, 2.4vw, 28px);
}

.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.hero__dot.is-active {
  width: 30px;
  background: var(--gold);
}

/* 06. Page header --------------------------------------------------------- */
.page-head {
  padding: 78px 0 40px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  text-transform: capitalize;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  color: #5a5a5a;
}

.breadcrumb a {
  color: #1b1b1b;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb svg {
  color: #1b1b1b;
}

.breadcrumb .sep {
  color: #b4b4b4;
}

/* 07. Home sections ------------------------------------------------------- */
.section--intro {
  padding-top: clamp(80px, 8vw, 120px);
}

.split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
}

.split__media--framed::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid rgba(239, 174, 22, 0.55);
  border-radius: var(--radius);
  z-index: -1;
}

.badge {
  position: absolute;
  left: -14px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 12px;
  background: var(--gold);
  box-shadow: var(--shadow-md);
}

.badge strong {
  color: #171717;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.badge span {
  max-width: 82px;
  color: rgba(20, 20, 20, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 46px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat__num {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.stat__num span {
  color: var(--gold);
}

.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.photo-strip figure:hover img {
  transform: scale(1.07);
}

.photo-strip figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 8, 4, 0.82));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 174, 22, 0.45);
  box-shadow: var(--shadow-md);
}

.card__media {
  position: relative;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: var(--pill);
  background: rgba(17, 17, 17, 0.85);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 28px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__text {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.card__body .text-link {
  margin-top: auto;
  padding-top: 6px;
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: clamp(36px, 4vw, 56px);
}

.counter {
  padding: 30px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.counter:hover {
  border-color: rgba(239, 174, 22, 0.5);
  background: rgba(239, 174, 22, 0.06);
}

.counter__num {
  display: block;
  color: var(--white);
  font-size: clamp(2.3rem, 3.4vw, 3.3rem);
  font-weight: 300;
  line-height: 1;
}

.counter__num b {
  font-weight: inherit;
}

.counter__num span {
  color: var(--gold);
}

.counter__label {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-band {
  padding: clamp(44px, 5vw, 66px) 0;
  background: var(--gold);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: #171717;
}

.cta-band p {
  margin-top: 8px;
  color: rgba(20, 20, 20, 0.76);
}

/* 08. About page ---------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.about-kicker {
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
}

.collage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.collage__main {
  box-shadow: var(--shadow-md);
}

.collage__col {
  display: grid;
  gap: 18px;
}

.about-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-media img {
  width: min(100%, 400px);
  height: auto;
}

.about-media__tag {
  position: absolute;
  right: 0;
  bottom: 40px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #171717;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.checklist {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.checklist svg {
  margin-top: 4px;
  color: var(--gold);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: clamp(36px, 4vw, 56px);
}

.info-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card__kicker {
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.97rem;
}

.info-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.progress-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.progress__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.progress__head b {
  color: var(--gold-dark);
  font-weight: 700;
}

.progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: var(--pill);
  background: #ececec;
}

.progress__bar {
  width: 0;
  height: 100%;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 1.4s var(--ease);
}

/* 09. Services page ------------------------------------------------------- */
.services-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
}

.card--wide {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  grid-column: 1 / -1;
}

.card--wide .card__media,
.card--wide .card__media img {
  height: 100%;
}

.card--wide .card__media img {
  aspect-ratio: auto;
  min-height: 300px;
}

.card--wide .card__body {
  padding: 34px;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* 10. Contact page -------------------------------------------------------- */
.contact-band {
  position: relative;
  padding: clamp(52px, 6vw, 84px) 0;
  background: url("../img/hero-crusher.jpg") center / cover no-repeat;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.8);
}

.contact-band .container {
  position: relative;
}

.contact-band .label {
  color: var(--gold);
}

.contact-band .section-title {
  margin-bottom: 0;
  color: var(--white);
}

.contact-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-band__head p {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(239, 174, 22, 0.14);
  color: var(--gold-dark);
}

.contact-card h3 {
  margin-bottom: 4px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: #2a2a2a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--gold-dark);
}

.contact-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.contact-details svg {
  flex: none;
  margin-top: 5px;
  color: var(--gold-dark);
}

.contact-details strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form__title {
  margin-bottom: 4px;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form__hint {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: #4a4a4a;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fbfbfb;
  color: #232323;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(239, 174, 22, 0.16);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a5a5a5;
}

.form__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.form__status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(239, 174, 22, 0.12);
  color: #7a5600;
  font-size: 0.9rem;
  font-weight: 600;
}

.form__status.is-visible {
  display: block;
}

.form__note a,
.contact-details a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.form__note a:hover,
.contact-details a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

/* 11. Footer -------------------------------------------------------------- */
.site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(48px, 5vw, 68px) 0 clamp(36px, 4vw, 48px);
}

.footer-brand img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: 14px;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
}

.footer-contact svg {
  flex: none;
  margin-top: 4px;
  color: var(--gold);
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #171717;
}

.footer-bottom {
  padding: 18px 0;
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* 12. Floating actions ---------------------------------------------------- */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.whatsapp:hover {
  transform: scale(1.06);
}

.whatsapp__tip {
  position: absolute;
  right: 70px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #232323;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.whatsapp:hover .whatsapp__tip,
.whatsapp:focus-visible .whatsapp__tip {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 29px;
  bottom: 92px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #171717;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
    background-color 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #171717;
  color: var(--gold);
}

/* 13. Motion -------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__slide img {
    transform: none;
  }
}

/* 14. Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .contact-list {
    gap: 26px;
  }

  .contact-item__icon {
    width: 48px;
    height: 48px;
  }

  .contact-item__value {
    font-size: 15px;
  }

  .nav-menu a {
    padding: 11px 16px;
    font-size: 13px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .topbar__note span {
    font-size: 13px;
  }

  .masthead__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0 24px;
  }

  .contact-list {
    width: 100%;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
  }

  .navbar {
    margin-bottom: -26px;
  }

  .nav-pill {
    padding: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-collapse {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .nav-collapse.is-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-menu a {
    padding: 13px 18px;
    color: #1b1b1b;
    font-size: 13px;
  }

  .nav-menu a:hover {
    background: var(--soft);
    color: #1b1b1b;
  }

  .nav-menu a.is-active,
  .nav-menu a.is-active:hover {
    background: var(--gold);
    color: #171717;
  }

  .nav-cta {
    margin-left: auto;
    padding: 11px 20px;
    font-size: 13px;
  }

  .hero {
    height: auto;
    min-height: 500px;
  }

  .hero__slide {
    padding: 80px 18px 100px;
  }

  .hero__nav {
    width: 44px;
    height: 44px;
  }

  .split,
  .about-intro,
  .contact-split,
  .services-intro {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 44px;
  }

  .page-head {
    padding: 66px 0 34px;
  }

  .split {
    gap: 42px;
  }

  .split__media {
    order: -1;
  }

  .split__media--framed::before {
    inset: 14px -14px -14px 14px;
  }

  .about-media {
    order: -1;
    justify-content: flex-start;
  }

  .about-media img {
    width: min(100%, 330px);
  }

  .info-cards,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    min-height: 42px;
  }

  .topbar__note span {
    font-size: 12px;
    letter-spacing: 0.01em;
  }

  .socials a {
    width: 30px;
    height: 30px;
  }

  .brand img {
    height: 56px;
  }

  .masthead__inner {
    gap: 16px;
  }

  .contact-item__icon {
    width: 42px;
    height: 42px;
  }

  .contact-item {
    flex: 1 1 0;
    gap: 10px;
  }

  .contact-item__icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-item__label {
    font-size: 11px;
  }

  .contact-item__value {
    font-size: 13.5px;
    line-height: 1.35;
  }

  .nav-toggle__text {
    display: none;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 12.5px;
  }

  .hero {
    min-height: 440px;
  }

  .hero__title {
    padding: 12px 18px;
  }

  .hero__subtitle {
    padding: 8px 16px;
  }

  .hero__nav {
    display: none;
  }

  .page-head {
    padding: 54px 0 28px;
  }

  .collage {
    gap: 12px;
  }

  .collage img {
    border-width: 5px;
  }

  .page-head__inner {
    gap: 10px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .cards,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-template-columns: 1fr;
  }

  .card--wide .card__media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    aspect-ratio: 16 / 10;
  }

  .counters {
    gap: 14px;
  }

  .counter {
    padding: 24px 12px;
  }

  .stat-row {
    gap: 20px 32px;
  }

  .stat__num {
    font-size: 26px;
  }

  .badge {
    left: 0;
    bottom: 16px;
    padding: 12px 16px;
  }

  .badge strong {
    font-size: 24px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom__inner {
    justify-content: flex-start;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .to-top {
    right: 20px;
    bottom: 80px;
    width: 40px;
    height: 40px;
  }

  .whatsapp__tip {
    display: none;
  }
}
