:root {
  --green: #048a12;
  --green-dark: #1b4f00;
  --green-deep: #173703;
  --lime: #6db227;
  --text: #414141;
  --muted: #6b6b6b;
  --black-card: #181818;
  --surface: #f6f6f6;
  --white: #ffffff;
  --container: 1630px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  background: var(--white);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 30px;
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  transition: transform 240ms var(--ease), opacity 240ms ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.inner-header {
  position: sticky;
  top: 0;
  align-items: center;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.main-nav,
.header-quote {
  margin-top: 32px;
}

.inner-header .main-nav,
.inner-header .header-quote {
  margin-top: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  color: #121212;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 220ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.quote-btn,
.agent-btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 240ms var(--ease), box-shadow 240ms ease, background-color 240ms ease,
    color 240ms ease;
}

.quote-btn {
  min-width: 229px;
  padding: 0 33px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 18px rgba(0, 106, 12, 0.22);
}

.quote-btn span {
  margin-left: 9px;
}

.quote-btn:hover,
.submit-btn:hover {
  background: #06a718;
  box-shadow: 0 13px 24px rgba(0, 106, 12, 0.28);
  transform: translateY(-3px);
}

.agent-btn {
  min-width: 230px;
  padding: 0 33px;
  color: var(--green);
  background: var(--white);
}

.agent-btn:hover {
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-3px);
}

.header-quote {
  justify-self: end;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 1080px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.48)),
    url("images/hero-background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-content {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding-top: 770px;
  color: var(--white);
}

.hero h1 {
  max-width: 1120px;
  margin: 0 0 4px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 1120px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 24px;
}

.simple-band {
  min-height: 351px;
  color: var(--white);
  background-image: url("images/second-section-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.simple-inner {
  width: min(1060px, calc(100% - 56px));
  margin: 0 auto;
  padding: 80px 0 34px;
  text-align: center;
}

.simple-inner h2,
.about-section h2,
.services-section h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.simple-inner p {
  margin: 8px auto 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.about-section {
  padding: 64px 0 70px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 435px;
  gap: 26px 23px;
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  align-items: start;
}

.about-copy {
  padding: 62px 0 0 98px;
}

.about-copy h2,
.mission-copy h2 {
  color: #535353;
  font-size: 35px;
  line-height: 1.08;
}

.about-copy p,
.mission-copy p {
  margin: 5px 0 0;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.28;
}

.about-side,
.about-wide,
.mission-image {
  width: 100%;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  transition: transform 360ms var(--ease), box-shadow 360ms ease, filter 360ms ease;
}

.about-side:hover,
.about-wide:hover,
.mission-image:hover {
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.12);
  filter: saturate(1.08);
  transform: translateY(-5px);
}

.about-side {
  grid-row: span 2;
  height: 630px;
  margin-top: 40px;
  border-radius: 30px;
}

.about-wide {
  height: 328px;
  border-radius: 28px;
}

.mission-copy {
  grid-column: 1 / -1;
  padding-left: 98px;
}

.mission-copy p {
  max-width: 1120px;
  font-size: 22px;
}

.mission-image {
  grid-column: 1 / -1;
  height: 328px;
  border-radius: 28px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  transition: color 220ms ease, transform 220ms var(--ease);
}

.text-link:hover {
  color: var(--green);
  transform: translateX(4px);
}

.about-intro,
.services-intro,
.origin-section,
.timeline-section,
.values-section,
.about-contact-panel,
.coverage-nav,
.risk-layout,
.program-stack,
.named-programs,
.deadline-callout {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.about-intro,
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.7fr);
  gap: 80px;
  align-items: start;
  padding: 104px 0 92px;
}

.about-intro-copy h1,
.services-intro-copy h1 {
  max-width: 900px;
  margin: 0;
  color: #343434;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.about-intro-copy p,
.services-intro-copy p,
.origin-copy p,
.values-copy p,
.about-contact-panel p,
.risk-grid p,
.program-row p,
.program-row li,
.named-program-card p,
.deadline-callout p {
  margin: 18px 0 0;
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.48;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.about-image-mosaic {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.mosaic-large,
.mosaic-small,
.origin-image img,
.services-intro-media img,
.named-programs-image img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.1);
  transition: transform 320ms var(--ease), box-shadow 320ms ease, filter 320ms ease;
}

.mosaic-large:hover,
.mosaic-small:hover,
.origin-image img:hover,
.services-intro-media img:hover,
.named-programs-image img:hover {
  filter: saturate(1.06);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.14);
  transform: translateY(-5px);
}

.mosaic-large {
  height: 650px;
  border-radius: 8px;
}

.mosaic-small {
  height: 390px;
  border-radius: 8px;
}

.mosaic-note {
  display: grid;
  align-content: center;
  min-height: 242px;
  padding: 28px;
  color: var(--white);
  background: var(--green);
}

.mosaic-note strong,
.services-intro-media strong {
  display: block;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.mosaic-note span,
.services-intro-media span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.origin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
  padding: 36px 0 90px;
}

.origin-image img {
  height: 500px;
  border-radius: 8px;
}

.origin-copy h2,
.values-section h2,
.risk-copy h2,
.deadline-callout h2,
.named-programs-copy h2 {
  margin: 0;
  color: #343434;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.timeline-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.timeline-section article {
  min-height: 250px;
  padding: 36px 30px;
  border-right: 1px solid #d8d8d8;
  transition: background-color 260ms ease, transform 260ms var(--ease);
}

.timeline-section article:last-child {
  border-right: 0;
}

.timeline-section article:hover {
  background: #f3f3f3;
  transform: translateY(-4px);
}

.timeline-section span,
.program-index {
  color: var(--green);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.timeline-section h3,
.risk-grid h3,
.named-program-card h3 {
  margin: 28px 0 0;
  color: #343434;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.timeline-section p {
  margin: 12px 0 0;
  color: #5f5f5f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
}

.values-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  padding: 92px 0;
}

.values-copy {
  columns: 2;
  column-gap: 42px;
}

.values-copy p {
  break-inside: avoid;
  margin-top: 0;
}

.about-contact-panel {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 96px;
  padding: 48px;
  color: var(--white);
  background: #171717;
}

.about-contact-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
}

.about-contact-panel p,
.about-contact-panel a {
  color: rgba(255, 255, 255, 0.82);
}

.about-contact-panel a {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.6;
  transition: color 220ms ease, transform 220ms var(--ease);
}

.about-contact-panel a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.services-intro {
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.72fr);
}

.services-intro-media {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 18px;
  align-items: stretch;
}

.services-intro-media img {
  height: 510px;
  border-radius: 8px;
}

.services-intro-media div {
  align-self: end;
  padding: 30px;
  color: var(--white);
  background: #171717;
}

.coverage-nav {
  position: sticky;
  top: 98px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  margin-bottom: 80px;
  border: 1px solid #d8d8d8;
  background: var(--white);
}

.coverage-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-right: 1px solid #d8d8d8;
  color: #343434;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 220ms ease, color 220ms ease;
}

.coverage-nav a:last-child {
  border-right: 0;
}

.coverage-nav a:hover {
  color: var(--white);
  background: var(--green);
}

.risk-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.risk-grid article {
  min-height: 210px;
  padding: 32px;
  background: #f3f3f3;
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.risk-grid article:hover,
.program-row:hover,
.named-program-card:hover,
.deadline-callout:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.program-stack {
  border-top: 1px solid #d8d8d8;
}

.program-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 42px;
  padding: 58px 0;
  border-bottom: 1px solid #d8d8d8;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, padding 260ms ease;
}

.program-row:hover {
  padding-right: 28px;
  padding-left: 28px;
}

.program-row h2 {
  margin: 0;
  color: #343434;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
}

.program-row ul {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.program-row li {
  margin: 0;
}

.named-programs {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
  padding: 94px 0;
}

.named-programs-image img {
  height: 620px;
  border-radius: 8px;
}

.named-program-card {
  margin-top: 20px;
  padding: 32px;
  background: #f3f3f3;
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.deadline-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  margin-bottom: 96px;
  padding: 48px;
  color: var(--white);
  background: var(--green);
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

.deadline-callout .eyebrow,
.deadline-callout h2,
.deadline-callout p {
  color: var(--white);
}

.deadline-callout div {
  max-width: 900px;
}

.contact-page-intro,
.contact-page-grid {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.contact-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 78px;
  align-items: center;
  padding: 104px 0 82px;
}

.contact-page-intro h1 {
  max-width: 940px;
  margin: 0;
  color: #343434;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-page-intro p {
  max-width: 900px;
  margin: 18px 0 0;
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.48;
}

.contact-page-intro img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.1);
  transition: transform 320ms var(--ease), box-shadow 320ms ease, filter 320ms ease;
}

.contact-page-intro img:hover {
  filter: saturate(1.06);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.14);
  transform: translateY(-5px);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 96px;
}

.contact-details-panel {
  padding: 48px;
  color: var(--white);
  background: #171717;
}

.contact-details-panel h2 {
  margin: 0 0 34px;
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.contact-detail {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-detail span {
  display: block;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail p {
  display: block;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.36;
  transition: color 220ms ease, transform 220ms var(--ease);
}

.contact-detail a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.contact-page-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  padding: 48px;
  background: #f3f3f3;
}

.contact-page-form .field input {
  background: var(--white);
}

.contact-page-form .field textarea {
  min-height: 190px;
  background: var(--white);
}

.page-hero {
  min-height: 760px;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.55)),
    url("images/hero-background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.services-page-hero {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.58)),
    url("images/Fourth-section-background.png");
}

.page-hero-content {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding-top: 420px;
}

.page-hero-content h1 {
  max-width: 1120px;
  margin: 0 0 10px;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero-content p {
  max-width: 1080px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.32;
}

.page-band {
  min-height: 300px;
}

.about-page-section,
.product-overview,
.product-details,
.dates-section {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.about-page-section {
  padding: 92px 0 88px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 435px;
  gap: 66px;
  align-items: start;
}

.story-copy {
  padding-left: 98px;
}

.story-copy h2,
.mission-panel h2,
.product-overview h2,
.detail-panel h2,
.feature-panel h2,
.named-peril-section h2,
.dates-section h2 {
  margin: 0;
  color: #535353;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.story-copy p,
.story-columns p,
.mission-panel p,
.product-overview p,
.detail-panel p,
.feature-panel p,
.named-peril-grid p,
.dates-section p {
  margin: 12px 0 0;
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.48;
}

.story-grid > img,
.wide-story-image img,
.detail-panel > img {
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  transition: transform 320ms var(--ease), box-shadow 320ms ease, filter 320ms ease;
}

.story-grid > img:hover,
.wide-story-image img:hover,
.detail-panel > img:hover {
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.12);
  filter: saturate(1.08);
  transform: translateY(-5px);
}

.story-grid > img {
  height: 620px;
  margin-top: 22px;
}

.wide-story-image {
  margin-top: 54px;
}

.wide-story-image img {
  height: 328px;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 54px;
}

.story-columns article,
.mission-panel,
.feature-panel,
.detail-list-box,
.dark-detail-card,
.named-peril-grid article,
.info-card {
  background: #f3f3f3;
  transition: transform 280ms var(--ease), box-shadow 280ms ease, background-color 280ms ease;
}

.story-columns article,
.mission-panel {
  padding: 42px;
  border-radius: 8px;
}

.story-columns article:hover,
.mission-panel:hover,
.feature-panel:hover,
.detail-list-box:hover,
.dark-detail-card:hover,
.named-peril-grid article:hover,
.info-card:hover,
.product-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.story-columns h3,
.detail-list-box h3,
.dark-detail-card h3,
.named-peril-grid h3,
.info-card h3,
.feature-grid h3,
.product-card h3 {
  margin: 0;
  color: #535353;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
}

.mission-panel {
  margin-top: 34px;
  background: var(--green);
}

.mission-panel h2,
.mission-panel p {
  color: var(--white);
}

.contact-info-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto 90px;
}

.info-card {
  min-height: 170px;
  padding: 30px;
  border-radius: 8px;
}

.info-card a,
.info-card p {
  display: block;
  margin: 13px 0 0;
  color: #5f5f5f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.product-overview {
  padding: 92px 0 70px;
}

.product-overview-copy {
  max-width: 1020px;
  padding-left: 98px;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 54px;
}

.product-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 42px 32px 34px;
  color: var(--white);
  background: var(--black-card);
  transition: transform 280ms var(--ease), box-shadow 280ms ease, background-color 280ms ease;
}

.product-card img {
  width: auto;
  height: 51px;
  margin-bottom: auto;
  object-fit: contain;
  object-position: left center;
}

.product-card h3 {
  margin-top: 78px;
  color: var(--white);
}

.product-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.product-card:hover {
  background: #111;
}

.product-details {
  padding: 0 0 88px;
}

.detail-panel {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 54px;
  align-items: center;
  padding: 64px 98px;
  border-top: 1px solid #d8d8d8;
}

.detail-panel.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.detail-panel > img {
  height: 340px;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-list-box,
.dark-detail-card {
  padding: 38px;
  border-radius: 8px;
}

.detail-list-box ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #5f5f5f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.feature-panel {
  margin: 0 98px 30px;
  padding: 48px;
  border-radius: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.feature-grid p {
  font-size: 14px;
}

.dark-detail-card {
  color: var(--white);
  background: var(--black-card);
}

.dark-detail-card h3,
.dark-detail-card p {
  color: var(--white);
}

.named-peril-section {
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18)),
    url("images/Fourth-section-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.named-peril-inner {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding: 120px 0;
}

.named-peril-section h2,
.named-peril-section .services-copy p {
  color: var(--white);
}

.named-peril-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 54px;
}

.named-peril-grid article {
  min-height: 310px;
  padding: 42px;
  color: var(--white);
  background: var(--black-card);
}

.named-peril-grid h3,
.named-peril-grid p {
  color: var(--white);
}

.dates-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 98px 96px;
}

.dates-section div {
  max-width: 980px;
}

.services-section {
  min-height: 1218px;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08)),
    url("images/Fourth-section-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.services-inner {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  padding: 182px 0 120px;
}

.services-copy {
  max-width: 1040px;
}

.services-copy p {
  max-width: 990px;
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 132px;
}

.service-card {
  display: flex;
  min-height: 392px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 43px 32px 38px;
  background: var(--black-card);
  transition: transform 300ms var(--ease), background-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
  background: #111;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-8px);
}

.service-card img {
  width: auto;
  height: 51px;
  margin-bottom: auto;
  object-fit: contain;
  object-position: left center;
  transition: transform 300ms var(--ease);
}

.service-card:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.service-card h3 {
  margin: 92px 0 12px;
  color: var(--white);
  font-size: 25px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.contact-section {
  margin-top: -1px;
  padding: 0 0 60px;
  background: linear-gradient(180deg, transparent 0 39%, #7e7e7e 39% 100%);
}

.contact-card {
  display: grid;
  grid-template-columns: 646px 1fr;
  width: min(var(--container), calc(100% - 56px));
  margin: -107px auto 0;
  background: #e7e7e7;
}

.contact-card > img {
  width: 100%;
  height: 690px;
  object-fit: cover;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 67px;
  padding: 101px 74px 72px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #7d7d7d;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #c3c3c3;
  border-radius: 4px;
  outline: none;
  background: transparent;
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.field input {
  height: 39px;
  padding: 5px 10px;
}

.field textarea {
  min-height: 173px;
  resize: vertical;
  padding: 8px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(4, 138, 18, 0.1);
}

.submit-btn {
  width: 229px;
  min-height: 52px;
  border-radius: 5px;
  color: var(--white);
  background: var(--green);
}

.site-footer {
  padding: 92px 0 34px;
  color: var(--green-deep);
  background-image: linear-gradient(90deg, rgba(242, 242, 242, 0.98), rgba(242, 242, 242, 0.88)),
    url("images/Footer-background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, 1fr);
  gap: 54px;
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.footer-brand .brand img {
  width: 150px;
}

.footer-brand p {
  max-width: 320px;
  margin: 34px 0 18px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  width: 34px;
  height: 34px;
  transition: transform 220ms var(--ease), filter 220ms ease;
}

.social-links a:hover {
  filter: brightness(1.1);
  transform: translateY(-3px) scale(1.06);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
  color: #2f6a18;
  font-size: 12px;
  font-weight: 500;
}

.footer-column h4 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.footer-column a,
.footer-column span {
  color: #4f7842;
  transition: color 200ms ease, transform 200ms var(--ease);
}

.footer-column a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.copyright {
  width: min(var(--container), calc(100% - 56px));
  margin: 70px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(4, 138, 18, 0.5);
  color: #698667;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .inner-header {
    align-items: start;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 38px;
    padding: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--green-dark);
  }

  .main-nav {
    position: absolute;
    top: 88px;
    right: 0;
    display: grid;
    min-width: 210px;
    gap: 10px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-quote {
    display: none;
  }

  .about-grid,
  .about-intro,
  .about-image-mosaic,
  .origin-section,
  .timeline-section,
  .values-section,
  .services-intro,
  .contact-page-intro,
  .contact-page-grid,
  .services-intro-media,
  .risk-layout,
  .risk-grid,
  .program-row,
  .named-programs,
  .story-grid,
  .story-columns,
  .contact-info-band,
  .product-card-grid,
  .detail-panel,
  .detail-panel.reverse,
  .feature-grid,
  .named-peril-grid,
  .contact-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .mission-copy,
  .story-copy,
  .product-overview-copy {
    padding-left: 0;
  }

  .about-side {
    grid-row: auto;
    height: 420px;
  }

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

  .feature-panel {
    margin-right: 0;
    margin-left: 0;
  }

  .detail-panel {
    padding-right: 0;
    padding-left: 0;
  }

  .dates-section {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0;
    padding-left: 0;
  }

  .contact-card > img {
    height: 300px;
  }

  .footer-inner {
    gap: 24px;
  }

  .values-copy {
    columns: 1;
  }

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

  .coverage-nav a {
    border-bottom: 1px solid #d8d8d8;
  }

  .program-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .about-contact-panel,
  .deadline-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-content,
  .simple-inner,
  .about-grid,
  .about-intro,
  .origin-section,
  .timeline-section,
  .values-section,
  .about-contact-panel,
  .services-intro,
  .contact-page-intro,
  .contact-page-grid,
  .coverage-nav,
  .risk-layout,
  .program-stack,
  .named-programs,
  .deadline-callout,
  .page-hero-content,
  .about-page-section,
  .contact-info-band,
  .product-overview,
  .product-details,
  .named-peril-inner,
  .dates-section,
  .services-inner,
  .contact-card,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero-content,
  .simple-inner,
  .about-grid,
  .about-intro,
  .origin-section,
  .timeline-section,
  .values-section,
  .about-contact-panel,
  .services-intro,
  .contact-page-intro,
  .contact-page-grid,
  .coverage-nav,
  .risk-layout,
  .program-stack,
  .named-programs,
  .deadline-callout,
  .page-hero-content,
  .about-page-section,
  .contact-info-band,
  .product-overview,
  .product-details,
  .named-peril-inner,
  .dates-section,
  .services-inner,
  .contact-card,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 32px), 330px);
  }

  .site-header {
    padding-top: 22px;
  }

  .inner-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand img,
  .footer-brand .brand img {
    width: 110px;
  }

  .hero {
    min-height: 650px;
    background-position: center top;
  }

  .page-hero {
    min-height: 590px;
  }

  .hero-content {
    padding-top: 370px;
  }

  .page-hero-content {
    padding-top: 300px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.12;
  }

  .page-hero-content h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .about-intro,
  .services-intro,
  .contact-page-intro {
    gap: 30px;
    padding: 46px 0;
  }

  .about-intro-copy h1,
  .services-intro-copy h1,
  .contact-page-intro h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .about-intro-copy p,
  .services-intro-copy p,
  .contact-page-intro p,
  .origin-copy p,
  .values-copy p,
  .about-contact-panel p,
  .risk-grid p,
  .program-row p,
  .program-row li,
  .named-program-card p,
  .deadline-callout p {
    font-size: 14px;
  }

  .mosaic-large,
  .mosaic-small,
  .origin-image img,
  .services-intro-media img,
  .named-programs-image img,
  .contact-page-intro img {
    height: 260px;
  }

  .mosaic-note,
  .services-intro-media div {
    min-height: auto;
    padding: 22px;
  }

  .mosaic-note strong,
  .services-intro-media strong,
  .timeline-section span,
  .program-index {
    font-size: 34px;
  }

  .origin-section,
  .values-section,
  .named-programs {
    gap: 28px;
    padding: 42px 0;
  }

  .origin-copy h2,
  .values-section h2,
  .risk-copy h2,
  .deadline-callout h2,
  .named-programs-copy h2,
  .program-row h2 {
    font-size: 26px;
  }

  .timeline-section article,
  .risk-grid article,
  .named-program-card,
  .about-contact-panel,
  .deadline-callout {
    min-height: auto;
    padding: 24px;
  }

  .coverage-nav {
    margin-bottom: 42px;
  }

  .coverage-nav a {
    min-height: 54px;
    font-size: 12px;
  }

  .risk-layout {
    gap: 28px;
    padding-bottom: 42px;
  }

  .program-row {
    gap: 18px;
    padding: 36px 0;
  }

  .program-row ul {
    padding-left: 18px;
  }

  .deadline-callout {
    margin-bottom: 54px;
  }

  .simple-inner h2,
  .about-section h2,
  .services-section h2,
  .story-copy h2,
  .mission-panel h2,
  .product-overview h2,
  .detail-panel h2,
  .feature-panel h2,
  .named-peril-section h2,
  .dates-section h2 {
    font-size: 25px;
    line-height: 1.15;
  }

  .hero p,
  .page-hero-content p,
  .simple-inner p,
  .services-copy p,
  .mission-copy p,
  .story-copy p,
  .story-columns p,
  .mission-panel p,
  .product-overview p,
  .detail-panel p,
  .named-peril-grid p,
  .dates-section p {
    font-size: 14px;
  }

  .hero-actions {
    gap: 10px;
  }

  .quote-btn,
  .agent-btn {
    min-width: 0;
    width: 100%;
  }

  .simple-band {
    min-height: 210px;
  }

  .about-section {
    padding-top: 24px;
  }

  .about-side,
  .about-wide,
  .mission-image,
  .story-grid > img,
  .wide-story-image img,
  .detail-panel > img {
    height: 240px;
    border-radius: 24px;
  }

  .service-cards,
  .contact-form,
  .contact-page-form,
  .product-card-grid {
    grid-template-columns: 1fr;
  }

  .about-page-section,
  .product-overview {
    padding: 48px 0;
  }

  .story-grid,
  .story-columns,
  .product-card-grid,
  .named-peril-grid {
    gap: 18px;
  }

  .story-columns article,
  .mission-panel,
  .feature-panel,
  .detail-list-box,
  .dark-detail-card,
  .named-peril-grid article,
  .info-card,
  .contact-details-panel,
  .contact-page-form {
    padding: 24px;
  }

  .product-card {
    min-height: 230px;
    padding: 28px 24px;
  }

  .product-card h3 {
    margin-top: 50px;
  }

  .detail-panel {
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .feature-grid {
    gap: 20px;
  }

  .named-peril-inner {
    padding: 64px 0;
  }

  .dates-section {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .services-inner {
    padding: 74px 0;
  }

  .service-card {
    min-height: 190px;
  }

  .contact-section {
    background: #7e7e7e;
  }

  .contact-form {
    padding: 34px 24px;
  }

  .field.full {
    grid-column: auto;
  }
}
