* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Avenir', 'Proxima Nova', Arial, Helvetica, sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.5;
}

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

/* HEADER */

.site-header {
  min-height: 60px;
  padding: 6px 4.5%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.logo-link {
  flex: 1;
}

.logo {
  width: 220px;
  max-width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 95px;
  flex: 2;
}

.main-nav a {
  color: #111111;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #FFC907;
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #555555;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.badge {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-left: auto;
}

/* HERO */

.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("img/hero-water.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.63) 0%,
    rgba(0, 0, 0, 0.48) 36%,
    rgba(0, 0, 0, 0.16) 60%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 88%);
  margin-left: 4.5%;
  padding: 70px 0 80px;
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 span {
  color: #FFC907;
}

.hero-copy {
  max-width: 820px;
  margin: 0 0 48px;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.5;
}

.primary-button,
.dark-button,
.outline-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 7px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.primary-button {
  min-width: 265px;
  padding: 20px 30px;
  text-align: center;
  background-color: #FFC907;
  color: #111111;
  font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.primary-button:hover,
.primary-button:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.trust-message {
  margin: 18px 0 0;
  font-size: 1.15rem;
  line-height: 1.45;
}

/* SHARED SECTIONS */

.content-section {
  padding: 90px 5%;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 12px;
  color: #159A48;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.content-section h2,
.take-action h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.content-section p,
.take-action p {
  font-size: 1.12rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.why-water {
  background-color: #f7f7f7;
}

.about {
  background-color: #ffffff;
}

.wide-copy {
  max-width: 850px;
  margin-bottom: 45px;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.impact-card {
  padding: 30px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.card-number {
  display: inline-block;
  margin-bottom: 20px;
  color: #FFC907;
  font-weight: 800;
  font-size: 1.15rem;
}

.impact-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

/* TAKE ACTION */

.take-action {
  padding: 90px 5%;
  background-color: #FFC907;
}

.action-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.dark-label {
  color: #111111;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dark-button,
.outline-button {
  padding: 18px 26px;
  text-align: center;
}

.dark-button {
  background-color: #111111;
  color: #ffffff;
}

.outline-button {
  color: #111111;
  border: 2px solid #111111;
}

.dark-button:hover,
.dark-button:focus,
.outline-button:hover,
.outline-button:focus {
  transform: translateY(-3px);
}

.outline-button:hover,
.outline-button:focus {
  background-color: #ffffff;
}

/* FOOTER */

footer {
  padding: 28px 5%;
  background-color: #111111;
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
}

/* TABLET */

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo-link {
    flex: initial;
  }

  .logo {
    width: 220px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex: none;
    gap: 35px;
    padding-top: 6px;
  }

  .hero {
    background-position: 65% center;
  }

  .hero-content {
    width: 88%;
  }

  .two-column,
  .action-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .logo {
    width: 180px;
  }

  .badge {
    width: 48px;
    height: 48px;
  }

  .main-nav {
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.92rem;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
    background-position: 68% center;
  }

  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.56) 48%,
      rgba(0, 0, 0, 0.10) 78%
    );
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 60px 22px 50px;
  }

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

  .hero-copy {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .primary-button {
    width: 100%;
    min-width: 0;
  }

  .content-section,
  .take-action {
    padding: 65px 22px;
  }

  .content-section h2,
  .take-action h2 {
    font-size: 2.3rem;
  }
}