:root {
  --color-dark: #060606;
  --color-light-blue: #f4f6fc;
  --color-yellow: #fccf00;
  --color-yellow-hover: #e5a711;
  --color-gray: #4b5563;
  --color-light-gray: #f8f8f8;
  --color-footer-bg: #fbfbfb;
  --font-heading: Gotham, "Microsoft Sans Serif", sans-serif;
  --font-body: "Microsoft Sans Serif", sans-serif;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --max-width-xl: 1600px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

ol,
ul {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

.font-heading {
  font-family: var(--font-heading);
}

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

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-xl {
  width: 100%;
  max-width: var(--max-width-xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0 5rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-dark);
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--color-gray);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.btn-primary {
  background-color: var(--color-yellow);
  color: #000000;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-yellow-hover);
}

.card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 15px 40px rgba(6, 6, 6, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 30px 60px rgba(6, 6, 6, 0.12);
  transform: translateY(-4px);
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(6, 6, 6, 0.08);
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  height: 3rem;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-heading);
}

.primary-nav a {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #4b5563;
}

.hero {
  background-image: url("assets/hero-img.jpg");
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 80px);
  position: relative;
  color: #ffffff;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0 5rem;
  width: 100%;
  margin: 0;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}

.hero-title .highlight {
  color: var(--color-yellow);
}

.hero-text {
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #f7f7f7;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 1.125rem;
  color: #f7f7f7;
  font-family: var(--font-body);
}

.services {
  background-color: #ffffff;
}

.services-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: 0.0rem;
  row-gap: 2.5rem;
  justify-items: center;
}

.service-card {
  width: 100%;
  max-width: 380px;
  margin: 0;
}

.service-image {
  height: 16rem;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem 1rem;
  min-height: 7rem;
}

.service-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0;
  color: var(--color-dark);
}

.service-card p {
  padding: 0 1.5rem 1.5rem;
  font-size: 1.125rem;
  color: var(--color-gray);
}

.challenges {
  background-color: var(--color-light-blue);
}

.challenge-grid {
  margin-top: 3rem;
  display: grid;
  gap: 3rem;
  align-items: stretch;
}

.challenge-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(6, 6, 6, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.challenge-card .content-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.challenge-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 26rem;
}

.challenge-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.challenge-title h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 2rem;
  min-height: 4rem;
  margin: 0;
  color: var(--color-dark);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-dark);
}

.challenge-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(6, 6, 6, 0.12);
}

.challenge-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.challenge-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.challenge-label span {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000000;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.mini-circle {
  width: 2.5rem;
  height: 2.5rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-circle svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--color-dark);
}

.challenge-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.1rem;
  margin-top: 1.15rem;
  min-height: 4.25rem;
}

.challenge-list {
  list-style: decimal;
  padding-left: 1.75rem;
  color: #4a5568;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.challenge-list li {
  margin: 0 0 0.5rem;
}

.challenge-list li:last-child {
  margin-bottom: 0.35rem;
}

.challenge-mid .arrow-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  margin: 1.25rem auto -0.5rem;
}

.challenge-summary {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.28;
  margin: -2rem auto 0;
  max-width: 26rem;
  width: auto;
  padding: 0;
  height: 3.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  align-items: center;
  justify-content: center;
}

.summary-line {
  display: block;
  width: auto;
  text-align: center;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .summary-line {
    white-space: nowrap;
  }
}

.case-studies {
  background-color: #ffffff;
}

.case-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

.case-image {
  height: 12rem;
  overflow: hidden;
}

.case-card .case-image {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image--stretch img {
  transform: scaleX(1.1);
}

.case-card .case-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
}

.case-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.case-card p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  min-height: 11rem;
}

.case-card .link-button {
  align-self: center;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ca8a04;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.link-button svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateX(4px);
  color: #a16207;
  background-color: #e5e7eb;
}

.coverage {
  background-color: #f4f6fd;
}

.coverage-grid {
  display: grid;
  gap: 3rem;
  align-items: flex-start;
}

.coverage-map,
.products-handled {
  text-align: center;
}

.map-frame,
.product-photo {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(6, 6, 6, 0.08);
}

.product-photo img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
}

.coverage-map h2,
.products-handled h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.products-handled p {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.product-photos {
  display: grid;
  gap: 1.5rem;
}

.products-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem 2rem;
}

.product-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-item span {
  font-size: 1.125rem;
  color: #4b5563;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-dark);
  margin-top: 0.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 4rem;
}

.site-footer {
  background-color: #fbfbfb;
  color: #1c1c1c;
  font-family: var(--font-body);
}

.footer-top {
  padding: 4rem 0 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand img {
  height: 3.5rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 480px;
  font-size: 1.0625rem;
  white-space: nowrap;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-links {
    flex-direction: row;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .footer-links {
    flex-direction: row;
    gap: 4.5rem;
  }

  .footer-links > :first-child {
    margin-right: 2rem;
  }
}

.footer-links h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.footer-links a,
.footer-links button {
  display: block;
  font-size: 1rem;
  color: #1e1e1e;
  margin-bottom: 0.4rem;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-yellow-hover);
}

.footer-image img {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 640px) {
  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-links {
    flex-direction: row;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .footer-links {
    gap: 4.5rem;
  }

  .footer-links > div:first-child {
    margin-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: flex-start;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5rem;
}

.hero-stat-divider {
    position: relative;
    padding-left: 3rem;
    margin-left: 1rem;
  }

  .hero-stat-divider::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.25);
  }
  
  .hero-stat-second {
    margin-right: 1.25rem;
  }

  .hero-stat-third {
    margin-left: 2.75rem;
  }

  .hero-stat-label {
    white-space: nowrap;
  }

  /* footer layout already handled at smaller breakpoints */
}

@media (min-width: 1280px) {
  .primary-nav {
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
