.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-primary-950);
}

.hero__media,
.hero__media img,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 46%;
}

.hero__scrim {
  background: linear-gradient(90deg, rgb(5 46 43 / 0.96) 0%, rgb(5 46 43 / 0.75) 34%, rgb(5 46 43 / 0.16) 68%, rgb(5 46 43 / 0.04) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 600px;
  justify-content: center;
  flex-direction: column;
  padding-block: 5rem 7rem;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero p {
  max-width: 570px;
  margin-bottom: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 520;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.alerts-section {
  padding-top: clamp(5rem, 10vw, 8rem);
  background: linear-gradient(180deg, var(--color-white), var(--color-gray-50));
}

.alert-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.94fr 1.26fr;
  border: 1px solid var(--color-gray-200);
  border-left: 5px solid var(--color-emergency-500);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.alert-panel__content {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.alert-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.alert-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.alert-message {
  max-width: 60ch;
  margin-top: 1rem;
  color: var(--color-gray-600);
}

.territory-map {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #eef5f2;
}

.territory-map__media,
.territory-map__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.territory-map__media img {
  object-fit: cover;
}

.territory-map__base {
  filter: saturate(0.82) contrast(0.94);
}

.territory-map__boundary {
  z-index: 1;
  pointer-events: none;
}

.territory-map figcaption {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  max-width: 330px;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-gray-600);
  background: rgb(255 255 255 / 0.9);
  font-size: 0.7rem;
  line-height: 1.3;
}

.territory-map figcaption a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--color-primary-800);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.prevention-section {
  background: var(--color-white);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.community-section {
  padding-top: 0;
}

.community-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--radius-lg);
  background: linear-gradient(105deg, #edf8f1, var(--color-gray-50));
}

.community-panel > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.community-panel__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(1.7rem, 5vw, 3.5rem);
}

.community-panel__content p {
  max-width: 58ch;
  color: var(--color-gray-600);
}

.community-panel__content .button {
  align-self: flex-start;
}

.news-section {
  background: var(--color-gray-50);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.about-section {
  background: linear-gradient(145deg, var(--color-primary-50), #f8fafc 60%);
}

.about-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-copy > p:not(.section-label) {
  max-width: 67ch;
  color: var(--color-gray-600);
}

.site-footer {
  color: rgb(255 255 255 / 0.84);
  background: var(--color-primary-950);
}

.footer-grid {
  display: grid;
  padding-block: 3.5rem;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.25fr;
  gap: 2.25rem;
}

.brand--footer,
.brand--footer .brand-copy small {
  color: var(--color-white);
}

.brand--footer .brand-logo {
  padding: 0.2rem;
  background: var(--color-white);
}

.brand--footer .brand-copy {
  max-width: 250px;
}

.footer-brand p {
  max-width: 32ch;
  margin: 1.2rem 0 0;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.site-footer nav,
.site-footer .footer-grid > div:not(.footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.site-footer nav a,
.site-footer .footer-grid > div > a,
.site-footer .footer-grid > div > button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer .footer-grid > div > a:hover,
.site-footer .footer-grid > div > button:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer address p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.site-footer address svg {
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.17);
}

.footer-bottom .container {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
}

.footer-bottom nav a {
  min-height: 44px;
  align-items: center;
}
