/* Home page styling. Global header/footer/typography rules live in site.css, components.css and typography-overrides.css. */

/* =========================================================
   REFRESHED HOMEPAGE HERO + SEARCH/MAP LAYOUT
   ========================================================= */
:root {
  --ics-green: #4eab56;
  --ics-green-dark: #258036;
  --ics-teal: #6faab6;
  --ics-navy: #34404d;
  --ics-navy-deep: #0b2737;
  --ics-text: #283340;
  --ics-muted: #637180;
  --ics-light: #f7f9fb;
  --ics-border: #dfe7ec;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 465px;
  background:
    radial-gradient(circle at 78% 12%, rgba(114, 205, 225, .72), transparent 22%),
    linear-gradient(135deg, #06263a 0%, #0f3347 48%, #18465b 100%);
  color: #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 42%;
  background-image: url('../images/Landscape1980_1200.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: .98;
  clip-path: ellipse(74% 82% at 78% 50%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 55, 28, .36));
  pointer-events: none;
}

.home-hero-cloud {
  position: absolute;
  z-index: 1;
  width: 132px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  filter: blur(.2px);
  opacity: .75;
  pointer-events: none;
  animation: cloudDrift 22s linear infinite alternate;
}

.home-hero-cloud::before,
.home-hero-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.home-hero-cloud::before {
  width: 48px;
  height: 48px;
  left: 25px;
  top: -22px;
}

.home-hero-cloud::after {
  width: 64px;
  height: 64px;
  right: 18px;
  top: -32px;
}

.home-hero-cloud-one {
  top: 18%;
  right: 30%;
}

.home-hero-cloud-two {
  top: 29%;
  right: 14%;
  transform: scale(.72);
  opacity: .52;
  animation-duration: 28s;
}

@keyframes cloudDrift {
  from { transform: translateX(-8px); }
  to { transform: translateX(32px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-cloud {
    animation: none;
  }
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.8rem, 5.5vw, 4.6rem) 0 clamp(2.4rem, 4vw, 3.4rem);
}

.home-hero h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  max-width: 640px;
  font-weight: 800;
}

.home-hero-copy {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  max-width: 600px;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.65rem;
}

.home-search-panel {
  max-width: 660px;
}

.home-search-input {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border-radius: .9rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255,255,255,.75);
}

.home-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  color: var(--ics-navy);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.home-search-input input {
  border: 0;
  min-height: 62px;
  font-size: 1.04rem;
  box-shadow: none !important;
}

.home-search-input button {
  margin: .55rem;
  border: 0;
  border-radius: .65rem !important;
  background: var(--ics-green-dark);
  font-weight: 700;
  min-width: 132px;
}

.home-search-input button:hover,
.home-search-input button:focus {
  background: var(--ics-green);
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.2rem;
  margin-top: 1.55rem;
  color: rgba(255, 255, 255, .94);
  font-weight: 600;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.home-trust-row span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--ics-green);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.home-results-section {
  background: var(--ics-light);
  padding: 2rem 0 3.2rem;
}

.home-results-shell {
  background: #fff;
  border: 1px solid var(--ics-border);
  border-radius: 1.2rem;
  box-shadow: 0 14px 36px rgba(42, 55, 69, .08);
  overflow: hidden;
}

.home-results-list {
  padding: 1.35rem;
  border-right: 1px solid var(--ics-border);
  min-height: 420px;
}

.home-results-list h2 {
  font-size: 1.42rem;
  color: var(--ics-navy);
  margin: 0 0 .2rem;
  font-weight: 650;
  letter-spacing: -.015em;
}

.home-results-list .results-help {
  color: var(--ics-muted);
  margin: 0 0 1rem;
}

.home-results-list .list-group {
  max-height: 350px;
  overflow-y: auto;
  padding-right: .35rem;
}

.home-results-list .list-group-item {
  border: 1px solid var(--ics-border);
  border-radius: .75rem !important;
  margin-bottom: .75rem;
  box-shadow: 0 6px 18px rgba(42, 55, 69, .05);
  font-size: .95rem;
}

.home-results-list .list-group-item strong {
  color: var(--ics-navy);
  font-size: 1.05rem;
}

.home-map-wrap {
  padding: 0;
  background: #eef4f2;
}

#map {
  min-height: 420px;
  height: 100% !important;
}

.home-map-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--ics-muted);
  background:
    linear-gradient(135deg, rgba(111,170,182,.14), rgba(78,171,86,.12)),
    #f2f7f5;
}

.home-trust-cards {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(300px, 1.35fr);
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.home-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--ics-border);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 10px 26px rgba(42, 55, 69, .06);
}

.home-trust-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 171, 86, .12);
  color: var(--ics-green-dark);
  font-weight: 900;
  flex: 0 0 auto;
}

.home-trust-card h2,
.home-trust-card h3 {
  color: var(--ics-navy);
  margin: 0 0 .35rem;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -.012em;
}

.home-trust-card p {
  margin: 0;
  color: var(--ics-text);
  line-height: 1.55;
}

.home-trust-card a {
  display: inline-block;
  color: var(--ics-green-dark);
  font-weight: 700;
  margin-top: .65rem;
  text-decoration: none;
}

@media (max-width: 991px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero::before {
    inset: auto 0 0 0;
    height: 44%;
    opacity: .38;
    clip-path: none;
  }

  .home-hero-inner {
    padding: 2.75rem 0 3rem;
  }

  .home-search-input {
    display: block;
    padding: .5rem;
  }

  .home-search-icon {
    display: none;
  }

  .home-search-input input {
    min-height: 56px;
    padding-left: 1rem;
  }

  .home-search-input button {
    width: 100%;
    margin: .35rem 0 0;
    min-height: 52px;
  }

  .home-results-list {
    border-right: 0;
    border-bottom: 1px solid var(--ics-border);
    min-height: 0;
  }

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

  #map,
  .home-map-placeholder {
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .home-hero h1 {
    font-size: 2.25rem;
  }

  .home-trust-row {
    gap: .9rem 1.2rem;
  }
}

.site-footer {
  background: var(--ics-navy-2, #3f4854);
  color: #fff;
  padding: 2.75rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.15;
}

.footer-brand:hover,
.footer-brand:focus {
  color: #fff;
}

.footer-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.footer-summary {
  color: rgba(255, 255, 255, .78);
  margin: 1rem 0 0;
  max-width: 340px;
  line-height: 1.6;
}

.footer-column h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .9rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid rgba(78, 171, 86, .65);
}

.footer-column a,
.footer-column span {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  margin-bottom: .55rem;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-column a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin-top: 2.25rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .site-footer {
    padding: 2.1rem 0 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: .45rem;
  }
}



/* =========================================================
   HOMEPAGE CONTENT SPLIT / SOFTENED SUPPORT SECTIONS
   Keeps the working member search untouched and reduces homepage weight.
   ========================================================= */
.home-section-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ics-green-dark);
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.home-section-label::before {
  content: "";
  width: 0px;
  height: 0px;
  border-radius: 999px;
  background: var(--ics-green);
}

.home-section-title {
  color: var(--ics-navy);
  font-size: clamp(1.85rem, 2.6vw, 2.65rem);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.home-section-intro {
  color: var(--ics-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.home-about-section {
  border-top: 1px solid var(--ics-border);
}

.home-about-expand {
  color: var(--ics-text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.home-details {
  border-top: 1px solid var(--ics-border);
  margin-top: 1.1rem;
  padding-top: .75rem;
}

.home-details summary {
  cursor: pointer;
  color: var(--ics-green-dark);
  font-weight: 650;
  list-style: none;
}

.home-details summary::-webkit-details-marker {
  display: none;
}

.home-details summary::after {
  content: "+";
  display: inline-block;
  margin-left: .45rem;
  font-weight: 700;
}

.home-details[open] summary::after {
  content: "–";
}

.home-details-content {
  padding-top: 1rem;
  color: var(--ics-text);
}

.home-signpost-section {
  background: var(--ics-light);
  border-top: 1px solid var(--ics-border);
}

.home-signpost-card {
  background: #fff;
  border: 1px solid var(--ics-border);
  border-radius: .85rem;
  padding: 1.4rem;
  box-shadow: 0 8px 20px rgba(42, 55, 69, .045);
}

.home-signpost-card h3 {
  color: var(--ics-navy);
  font-size: 1.16rem;
  font-weight: 650;
  margin-bottom: .65rem;
}

.home-signpost-card p {
  color: var(--ics-muted);
  line-height: 1.62;
  margin-bottom: 1rem;
}

.home-signpost-card a {
  color: var(--ics-green-dark);
  font-weight: 650;
  text-decoration: none;
}

.home-signpost-card a:hover,
.home-signpost-card a:focus {
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* =========================================================
   LIGHTER HOMEPAGE UI TRIAL
   Keeps the existing navigation untouched, but softens the
   homepage hero, feature cards and support sections.
   ========================================================= */
body.home-page {
  --ics-deep: #08283a;
  --ics-blue-soft: #6faab6;
  --ics-blue-pale: #eef9fb;
  --ics-green: #00983d;
  --ics-green-soft: #edf8f0;
  --ics-gold: #bfbc7a;
  --ics-gold-soft: #f5f2dc;
  --ics-card-border: #e4edf0;
  background: #fff;
  color: var(--ics-deep);
}

body.home-page .home-hero {
  min-height: 440px !important;
  color: var(--ics-deep) !important;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.18) 72%, rgba(255,255,255,0) 100%),
    url('../images/ics-hero-cottages.png') !important;
  background-size: cover, cover !important;
  background-position: center, center right !important;
  background-repeat: no-repeat, no-repeat !important;
}

body.home-page .home-hero::after {
  display: none !important;
}

body.home-page .home-hero-inner {
  padding-top: clamp(3.65rem, 5.3vw, 4.9rem) !important;
  padding-bottom: clamp(3.2rem, 4vw, 4.2rem) !important;
}

body.home-page .home-search-panel {
  max-width: 570px !important;
}

body.home-page .home-hero h1 {
  color: var(--ics-deep) !important;
  font-size: clamp(2.25rem, 3.2vw, 3.55rem) !important;
  line-height: 1.08 !important;
  max-width: 560px !important;
  text-shadow: none !important;
  letter-spacing: -.035em !important;
}

body.home-page .home-hero-copy {
  color: #27465a !important;
  max-width: 520px !important;
  text-shadow: none !important;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem) !important;
}

body.home-page .home-search-input {
  max-width: 555px !important;
  margin-top: 1.25rem !important;
  border: 1px solid #e0e9ed !important;
  border-radius: .55rem !important;
  box-shadow: 0 16px 40px rgba(10, 39, 56, .08) !important;
}

body.home-page .home-search-icon {
  color: #8a9ca7;
}

body.home-page .home-search-input input {
  min-height: 56px;
  font-size: .98rem;
}

body.home-page .home-search-input button {
  background: var(--ics-green) !important;
  border-radius: .42rem !important;
  min-width: 112px;
  font-size: .96rem;
}

.home-feature-strip {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 0 0 2rem;
}

.home-feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255,255,255,.96);
  border: 1px solid var(--ics-card-border);
  border-radius: .72rem;
  box-shadow: 0 14px 34px rgba(8, 40, 58, .09);
  overflow: hidden;
}

.home-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.55rem;
  min-height: 86px;
  color: var(--ics-deep);
}

.home-feature-item + .home-feature-item {
  border-left: 1px solid var(--ics-card-border);
}

.home-feature-item strong {
  font-size: .94rem;
  line-height: 1.45;
  font-weight: 700;
}

.home-feature-icon,
.home-advice-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ics-green-soft);
  color: var(--ics-green);
}

.home-feature-icon::before,
.home-advice-icon::before {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
}

.home-feature-icon-shield::before,
.home-advice-shield::before { content: "◇"; }
.home-feature-icon-award::before { content: "✧"; }
.home-feature-icon-certificate::before { content: "▤"; }
.home-feature-icon-map::before { content: "⌖"; }
.home-advice-fire::before { content: "◆"; }
.home-advice-logs::before { content: "▧"; }

body.home-page .home-results-section {
  background: #fff !important;
  padding: 0 0 1rem !important;
}

body.home-page .home-results-shell {
  border-radius: .72rem !important;
  border-color: var(--ics-card-border) !important;
  box-shadow: 0 10px 28px rgba(8, 40, 58, .055) !important;
}

body.home-page .home-results-list h2 {
  color: var(--ics-deep);
}

body.home-page .home-map-placeholder {
  background: linear-gradient(135deg, rgba(111,170,182,.10), rgba(78,171,86,.08)), #f8fcfb;
}

.home-audience-section {
  padding-top: 1.8rem;
}

.home-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

.home-audience-card {
  min-height: 235px;
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: 1.1rem;
  border: 1px solid var(--ics-card-border);
  border-radius: .72rem;
  background: linear-gradient(135deg, #fbfefe 0%, #f3fafb 100%);
  box-shadow: 0 10px 26px rgba(8, 40, 58, .045);
  padding: 1.6rem 1.75rem;
  overflow: hidden;
}

.home-audience-card-sweeps {
  grid-template-columns: 1fr .9fr;
  background: linear-gradient(135deg, #fbfefe 0%, #f6fbf7 100%);
}

.home-audience-content h2 {
  margin: 0 0 .55rem;
  color: var(--ics-deep);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.02em;
}

.home-audience-content p {
  color: #315064;
  line-height: 1.62;
  margin: 0 0 1.15rem;
}

.home-audience-illustration img {
  display: block;
  width: 100%;
  max-height: 165px;
  object-fit: contain;
}

.home-audience-actions,
.home-member-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  padding: .72rem 1.2rem;
  border-radius: .34rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-button:hover,
.home-button:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.home-button-primary {
  background: var(--ics-green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 152, 61, .16);
}

.home-button-primary:hover,
.home-button-primary:focus {
  background: #087f37;
  color: #fff;
}

.home-button-blue {
  background: #54aeb9;
  box-shadow: 0 10px 20px rgba(84, 174, 185, .18);
}

.home-button-blue:hover,
.home-button-blue:focus {
  background: #438f99;
}

.home-button-secondary {
  background: rgba(255,255,255,.74);
  color: #2c6f42;
  border: 1px solid #b8d9c1;
}

.home-button-secondary:hover,
.home-button-secondary:focus {
  background: #fff;
  color: #1f5d34;
}

.home-advice-preview {
  padding: 1.6rem 0 1.1rem;
}

.home-advice-preview > h2 {
  margin: 0 0 .85rem;
  color: var(--ics-deep);
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 760;
  letter-spacing: -.02em;
}

.home-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-advice-card {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  border: 1px solid var(--ics-card-border);
  border-radius: .72rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 40, 58, .04);
}

.home-advice-card:nth-child(2) .home-advice-icon {
  background: #edf8f0;
  color: #4e7e50;
}

.home-advice-card:nth-child(3) .home-advice-icon {
  background: var(--ics-gold-soft);
  color: #9a9041;
}

.home-advice-card h3 {
  margin: 0 0 .28rem;
  color: var(--ics-deep);
  font-size: 1rem;
  font-weight: 750;
}

.home-advice-card p {
  margin: 0 0 .55rem;
  color: #315064;
  line-height: 1.45;
  font-size: .93rem;
}

.home-advice-card a {
  color: var(--ics-deep);
  font-weight: 750;
  text-decoration: none;
  font-size: .92rem;
}

.home-member-banner {
  position: relative;
  min-height: 160px;
  border-radius: .72rem;
  overflow: hidden;
  border: 1px solid var(--ics-card-border);
  background:
    radial-gradient(circle at 72% 35%, rgba(255,255,255,.76) 0 3%, transparent 3.2%),
    radial-gradient(circle at 69% 35%, rgba(255,255,255,.76) 0 2%, transparent 2.2%),
    linear-gradient(135deg, rgba(234, 249, 251, .96), rgba(238, 248, 240, .94));
  box-shadow: 0 10px 24px rgba(8, 40, 58, .045);
}

.home-member-banner::before,
.home-member-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-member-banner::before {
  left: 34%;
  right: -6%;
  bottom: -22px;
  height: 105px;
  background:
    radial-gradient(80px 46px at 80% 75%, rgba(78, 171, 86, .28), transparent 70%),
    radial-gradient(200px 82px at 36% 88%, rgba(78, 171, 86, .32), transparent 70%),
    radial-gradient(240px 92px at 70% 98%, rgba(0, 152, 61, .27), transparent 72%);
}

.home-member-banner::after {
  right: 9%;
  top: 22px;
  width: 190px;
  height: 120px;
  opacity: .28;
  background:
    repeating-conic-gradient(from 0deg, rgba(84, 174, 185, .65) 0 4deg, transparent 4deg 12deg);
  clip-path: circle(45% at 50% 50%);
}

.home-member-banner-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  padding: 1.25rem 1.75rem 1.45rem;
}

.home-member-banner h2 {
  color: var(--ics-deep);
  margin: 0 0 .45rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.025em;
}

.home-member-banner p {
  color: #315064;
  margin: 0 0 .9rem;
  line-height: 1.45;
  font-size: .95rem;
}

body.home-page .home-about-section {
  margin-top: 2.25rem;
  background: #fff !important;
}

body.home-page .home-contact-section {
  background: #f8fbfc;
}

@media (max-width: 991px) {
  body.home-page .home-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 56%, rgba(255,255,255,.70) 100%),
      url('../images/ics-hero-cottages.png') !important;
    background-position: center, center right !important;
  }

  .home-feature-strip {
    margin-top: 0;
    padding-top: 1rem;
  }

  .home-feature-strip-inner,
  .home-audience-grid,
  .home-advice-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-item + .home-feature-item {
    border-left: 0;
    border-top: 1px solid var(--ics-card-border);
  }

  .home-audience-card,
  .home-audience-card-sweeps {
    grid-template-columns: 1fr;
  }

  .home-audience-illustration {
    max-width: 230px;
  }
}

@media (max-width: 575px) {
  body.home-page .home-hero-inner {
    padding-top: 2.6rem !important;
    padding-bottom: 2.8rem !important;
  }

  body.home-page .home-hero h1 {
    font-size: clamp(2rem, 10vw, 2.45rem) !important;
  }

  .home-feature-item,
  .home-audience-card,
  .home-advice-card,
  .home-member-banner-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-audience-actions,
  .home-member-banner-actions {
    display: grid;
  }

  .home-button {
    width: 100%;
  }
}

/* =========================================================
   LIGHT CHIMNEY PHOTO HERO + FEATURE BAR BUILD
   Uses the lighter mockup direction while preserving the
   existing navigation markup and the current ICS logo.
   ========================================================= */
body.home-page .home-hero {
  min-height: 505px !important;
  overflow: visible !important;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 30%,
      rgba(255,255,255,.86) 48%,
      rgba(255,255,255,.42) 62%,
      rgba(255,255,255,.06) 78%,
      rgba(255,255,255,0) 100%),
    url('../images/ics-hero-chimney-photo.jpg') !important;
  background-size: cover, auto 100% !important;
  background-position: center, right center !important;
  background-repeat: no-repeat, no-repeat !important;
}

body.home-page .home-hero-inner {
  padding-top: clamp(3.9rem, 5.4vw, 5.25rem) !important;
  padding-bottom: clamp(5rem, 7vw, 6.2rem) !important;
}

body.home-page .home-search-panel {
  max-width: 645px !important;
}

body.home-page .home-hero h1 {
  max-width: 650px !important;
  color: #08283a !important;
  font-size: clamp(2.6rem, 4.55vw, 5rem) !important;
  line-height: 1.04 !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  margin-bottom: 1.25rem !important;
}

body.home-page .home-hero-copy {
  max-width: 555px !important;
  color: #27465a !important;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.45rem !important;
}

body.home-page .home-search-input {
  max-width: 660px !important;
  border-radius: .72rem !important;
  border: 1px solid rgba(8, 40, 58, .10) !important;
  box-shadow: 0 12px 32px rgba(8, 40, 58, .08) !important;
  background: rgba(255,255,255,.96) !important;
}

body.home-page .home-search-input input {
  min-height: 62px !important;
  color: #08283a !important;
}

body.home-page .home-search-input input::placeholder {
  color: #7c8c98 !important;
}

body.home-page .home-search-icon {
  width: 62px !important;
  font-size: 0 !important;
  color: #8a9ca7 !important;
}

body.home-page .home-search-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.home-page .home-search-input button {
  min-width: 126px !important;
  margin: .55rem !important;
  border-radius: .55rem !important;
  background: #009b45 !important;
  box-shadow: 0 8px 18px rgba(0, 155, 69, .18) !important;
}

body.home-page .home-search-input button:hover,
body.home-page .home-search-input button:focus {
  background: #087f37 !important;
}

.home-feature-strip {
  margin-top: -66px !important;
  padding-bottom: 2.15rem !important;
}

.home-feature-strip-inner {
  border-radius: 1rem !important;
  border: 1px solid rgba(8, 40, 58, .08) !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 16px 38px rgba(8, 40, 58, .10) !important;
}

.home-feature-item {
  min-height: 120px !important;
  gap: 1.35rem !important;
  padding: 1.7rem 2rem !important;
}

.home-feature-item + .home-feature-item {
  border-left: 1px solid rgba(8, 40, 58, .09) !important;
}

.home-feature-item strong {
  color: #08283a !important;
  font-size: 1.05rem !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
}

.home-feature-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 0 !important;
  background-color: #009b45 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.home-feature-icon::before {
  content: none !important;
}

.home-feature-icon-shield {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 5 54 14v17c0 14.5-9.2 24.6-22 28C19.2 55.6 10 45.5 10 31V14L32 5Z'/%3E%3Ccircle cx='32' cy='31' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 5 54 14v17c0 14.5-9.2 24.6-22 28C19.2 55.6 10 45.5 10 31V14L32 5Z'/%3E%3Ccircle cx='32' cy='31' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-feature-icon-award {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 5a19 19 0 1 1 0 38 19 19 0 0 1 0-38Z'/%3E%3Cpath d='m25 42-5 16 12-7 12 7-5-16'/%3E%3Cpath d='m32 16 4 8 9 1-6.5 6.2L40 40l-8-4.4L24 40l1.5-8.8L19 25l9-1 4-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 5a19 19 0 1 1 0 38 19 19 0 0 1 0-38Z'/%3E%3Cpath d='m25 42-5 16 12-7 12 7-5-16'/%3E%3Cpath d='m32 16 4 8 9 1-6.5 6.2L40 40l-8-4.4L24 40l1.5-8.8L19 25l9-1 4-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-feature-icon-certificate {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h26l10 10v42H14V6Z'/%3E%3Cpath d='M40 6v11h10M22 24h18M22 33h14M22 42h10'/%3E%3Ccircle cx='44' cy='43' r='8'/%3E%3Cpath d='m39 50-3 9 8-4 8 4-3-9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h26l10 10v42H14V6Z'/%3E%3Cpath d='M40 6v11h10M22 24h18M22 33h14M22 42h10'/%3E%3Ccircle cx='44' cy='43' r='8'/%3E%3Cpath d='m39 50-3 9 8-4 8 4-3-9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-feature-icon-map {
  background-color: #6faab6 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23000' d='M35 3c4 3 8 8 8 13 0 3 5 5 4 9-1 3-6 1-6 4 0 4 8 4 9 8 1 3-5 3-7 4-3 2-1 8-5 10-4 2-9-2-12 1-4 3-8 1-10-2 6-2 10-5 7-10-2-4-7-2-8-6-1-5 7-6 8-10 1-5-5-7-1-12 3-4 8-4 13-9ZM12 40c4 1 6 5 3 8-2 3-8 2-9-2-1-4 2-7 6-6ZM25 57c3-3 8-2 10 1-3 3-8 4-10-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23000' d='M35 3c4 3 8 8 8 13 0 3 5 5 4 9-1 3-6 1-6 4 0 4 8 4 9 8 1 3-5 3-7 4-3 2-1 8-5 10-4 2-9-2-12 1-4 3-8 1-10-2 6-2 10-5 7-10-2-4-7-2-8-6-1-5 7-6 8-10 1-5-5-7-1-12 3-4 8-4 13-9ZM12 40c4 1 6 5 3 8-2 3-8 2-9-2-1-4 2-7 6-6ZM25 57c3-3 8-2 10 1-3 3-8 4-10-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1199.98px) {
  .home-feature-item {
    padding: 1.35rem 1.25rem !important;
  }
}

@media (max-width: 991.98px) {
  body.home-page .home-hero {
    min-height: 0 !important;
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,255,255,.96) 58%,
        rgba(255,255,255,.70) 100%),
      url('../images/ics-hero-chimney-photo.jpg') !important;
    background-size: cover, cover !important;
    background-position: center, right center !important;
  }

  body.home-page .home-hero-inner {
    padding-top: 3rem !important;
    padding-bottom: 3.4rem !important;
  }

  body.home-page .home-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.4rem) !important;
  }

  .home-feature-strip {
    margin-top: 0 !important;
    padding-top: 1rem !important;
  }

  .home-feature-item + .home-feature-item {
    border-left: 0 !important;
    border-top: 1px solid rgba(8, 40, 58, .09) !important;
  }
}

.home-trust {
  max-width: 1180px;
  margin: -42px auto 48px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid rgba(8, 47, 73, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(8, 47, 73, 0.08);
  position: relative;
  z-index: 5;
}

.home-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  padding: 0 22px;
  border-right: 1px solid rgba(8, 47, 73, 0.1);
}

.home-trust__item:last-child {
  border-right: 0;
}

.home-trust__icon-wrap {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-trust__icon {
  display: block;
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.home-trust__text {
  color: #082f49;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}

/* Tablet */
@media (max-width: 900px) {
  .home-trust {
    grid-template-columns: repeat(2, 1fr);
    margin: 28px 20px 44px;
    padding: 18px 22px;
  }

  .home-trust__item {
    justify-content: flex-start;
    padding: 18px 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(8, 47, 73, 0.1);
  }

  .home-trust__item:nth-child(3),
  .home-trust__item:nth-child(4) {
    border-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .home-trust {
    grid-template-columns: 1fr;
  }

  .home-trust__item {
    border-bottom: 1px solid rgba(8, 47, 73, 0.1);
  }

  .home-trust__item:nth-child(3) {
    border-bottom: 1px solid rgba(8, 47, 73, 0.1);
  }

  .home-trust__item:last-child {
    border-bottom: 0;
  }

  .home-trust__icon-wrap,
  .home-trust__icon {
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    flex-basis: 52px;
  }
}

/* =========================================================
   AUDIENCE CARD REBUILD
   Cleaner illustrations, balanced cards and matching button sizes.
   ========================================================= */
body.home-page .home-audience-section {
  padding-top: 1.9rem !important;
  padding-bottom: .6rem !important;
}

body.home-page .home-audience-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

body.home-page .home-audience-card {
  min-height: 260px !important;
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 1.45rem !important;
  border: 1px solid #dfeaec !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, #fbfefe 0%, #f4fbfb 100%) !important;
  padding: 2rem !important;
  box-shadow: 0 8px 22px rgba(8, 40, 58, .045) !important;
  overflow: hidden !important;
}

body.home-page .home-audience-card-sweeps {
  grid-template-columns: minmax(0, 1fr) 220px !important;
  background: linear-gradient(135deg, #fbfefe 0%, #f7fcf8 100%) !important;
}

body.home-page .home-audience-illustration {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 180px !important;
}

body.home-page .home-audience-illustration img {
  display: block !important;
  width: 100% !important;
  max-width: 210px !important;
  max-height: 180px !important;
  object-fit: contain !important;
}

body.home-page .home-audience-content h2 {
  margin: 0 0 .65rem !important;
  color: #082f49 !important;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em !important;
}

body.home-page .home-audience-content p {
  margin: 0 0 1.35rem !important;
  color: #36566a !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  max-width: 440px !important;
}

body.home-page .home-audience-actions,
body.home-page .home-member-banner-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: .85rem !important;
  width: 100% !important;
  max-width: 360px !important;
}

body.home-page .home-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: .9rem 1.25rem !important;
  border-radius: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

body.home-page .home-button-primary {
  background: #009b45 !important;
  border: 1px solid #009b45 !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(0,155,69,.14) !important;
}

body.home-page .home-button-primary:hover,
body.home-page .home-button-primary:focus {
  background: #07833c !important;
  border-color: #07833c !important;
  color: #fff !important;
}

body.home-page .home-button-blue {
  background: #59b3bf !important;
  border-color: #59b3bf !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(89,179,191,.16) !important;
}

body.home-page .home-button-blue:hover,
body.home-page .home-button-blue:focus {
  background: #469eaa !important;
  border-color: #469eaa !important;
  color: #fff !important;
}

body.home-page .home-button-secondary {
  background: #fff !important;
  border: 1px solid #b8d7c0 !important;
  color: #2d7048 !important;
  box-shadow: none !important;
}

body.home-page .home-button-secondary:hover,
body.home-page .home-button-secondary:focus {
  background: #f8fcf9 !important;
  border-color: #9cc7a8 !important;
  color: #235b39 !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-audience-grid {
    grid-template-columns: 1fr !important;
  }

  body.home-page .home-audience-card,
  body.home-page .home-audience-card-sweeps {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  body.home-page .home-audience-illustration {
    order: -1 !important;
    justify-content: flex-start !important;
    min-height: 140px !important;
  }

  body.home-page .home-audience-illustration img {
    max-width: 185px !important;
    max-height: 150px !important;
  }

  body.home-page .home-audience-actions,
  body.home-page .home-member-banner-actions {
    max-width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-audience-card {
    padding: 1.4rem !important;
    border-radius: 18px !important;
  }

  body.home-page .home-audience-content h2 {
    font-size: 1.9rem !important;
  }

  body.home-page .home-button {
    min-height: 52px !important;
    font-size: .98rem !important;
  }
}

/* =========================================================
   COMPACT HERO / MAP VISIBILITY TWEAK
   Reduces the depth of the homepage hero so the search/map
   section starts higher on desktop and tablet screens.
   ========================================================= */
body.home-page .home-hero {
  min-height: 405px !important;
  background-size: cover, auto 100% !important;
  background-position: center, right center !important;
}

body.home-page .home-hero-inner {
  padding-top: clamp(2.6rem, 3.8vw, 3.6rem) !important;
  padding-bottom: clamp(3.25rem, 4.6vw, 4.4rem) !important;
}

body.home-page .home-search-panel {
  max-width: 590px !important;
}

body.home-page .home-hero h1 {
  max-width: 570px !important;
  font-size: clamp(2.35rem, 3.65vw, 4rem) !important;
  line-height: 1.02 !important;
  margin-bottom: 1rem !important;
}

body.home-page .home-hero-copy {
  max-width: 525px !important;
  font-size: clamp(1rem, 1.15vw, 1.15rem) !important;
  line-height: 1.45 !important;
  margin-bottom: 1.1rem !important;
}

body.home-page .home-search-input {
  max-width: 610px !important;
  margin-top: 1rem !important;
}

.home-trust {
  margin-top: -34px !important;
  margin-bottom: 34px !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

body.home-page .home-results-section {
  padding-top: 0 !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-hero {
    min-height: 0 !important;
  }

  body.home-page .home-hero-inner {
    padding-top: 2.35rem !important;
    padding-bottom: 2.65rem !important;
  }

  body.home-page .home-hero h1 {
    font-size: clamp(2.05rem, 7.5vw, 3rem) !important;
  }

  .home-trust {
    margin-top: 18px !important;
    margin-bottom: 30px !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-hero-inner {
    padding-top: 2rem !important;
    padding-bottom: 2.3rem !important;
  }

  body.home-page .home-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.35rem) !important;
  }
}

/* =========================================================
   HERO IMAGE CLEAN-UP
   Replaces the mockup screenshot background with a clean
   photo-only crop so no ghost text/search/map appears.
   ========================================================= */
body.home-page .home-hero {
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 31%,
      rgba(255,255,255,.88) 47%,
      rgba(255,255,255,.50) 60%,
      rgba(255,255,255,.12) 74%,
      rgba(255,255,255,0) 100%),
    url('../images/ics-hero-chimney-photo-clean.jpg') !important;
  background-size: cover, auto 100% !important;
  background-position: center, right center !important;
  background-repeat: no-repeat, no-repeat !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-hero {
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,255,255,.96) 58%,
        rgba(255,255,255,.72) 100%),
      url('../images/ics-hero-chimney-photo-clean.jpg') !important;
    background-size: cover, cover !important;
    background-position: center, right center !important;
  }
}


/* =========================================================
   HELPFUL ADVICE ICONS - INLINE SVG VERSION
   Creates the circular fire, shield and wood icons in HTML/CSS.
   ========================================================= */
body.home-page .home-advice-preview {
  padding: 1.6rem 0 1.1rem !important;
}

body.home-page .home-advice-preview > h2 {
  margin: 0 0 .85rem !important;
  color: #082f49 !important;
  text-align: center !important;
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}

body.home-page .home-advice-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

body.home-page .home-advice-card {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  border: 1px solid #e4edf0 !important;
  border-radius: 18px !important;
  padding: 1.35rem 1.45rem !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 40, 58, 0.04) !important;
}

body.home-page .home-advice-icon {
  width: 78px !important;
  height: 78px !important;
  flex: 0 0 78px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-image: none !important;
}

body.home-page .home-advice-icon::before {
  content: none !important;
}

body.home-page .home-advice-icon svg {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.home-page .home-advice-icon--blue {
  background: #72b8c2 !important;
  color: #72b8c2 !important;
  box-shadow: 0 8px 18px rgba(114, 184, 194, 0.22) !important;
}

body.home-page .home-advice-icon--green {
  background: #5b955f !important;
  color: #5b955f !important;
  box-shadow: 0 8px 18px rgba(91, 149, 95, 0.22) !important;
}

body.home-page .home-advice-icon--gold {
  background: #c8b566 !important;
  color: #c8b566 !important;
  box-shadow: 0 8px 18px rgba(200, 181, 102, 0.24) !important;
}

body.home-page .home-advice-card h3 {
  margin: 0 0 .28rem !important;
  color: #082f49 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
}

body.home-page .home-advice-card p {
  margin: 0 0 .6rem !important;
  color: #315064 !important;
  line-height: 1.45 !important;
  font-size: .94rem !important;
}

body.home-page .home-advice-card a {
  color: #082f49 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: .92rem !important;
}

body.home-page .home-advice-card a:hover,
body.home-page .home-advice-card a:focus {
  color: #009b45 !important;
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-advice-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-advice-card {
    align-items: flex-start !important;
    padding: 1.15rem !important;
  }

  body.home-page .home-advice-icon {
    width: 64px !important;
    height: 64px !important;
    flex-basis: 64px !important;
  }

  body.home-page .home-advice-icon svg {
    width: 34px !important;
    height: 34px !important;
  }
}


/* =========================================================
   CONTACT SECTION REBUILD
   Cleaner, lighter contact layout with stronger hierarchy.
   ========================================================= */
body.home-page .home-contact-section--refined {
  position: relative;
  overflow: hidden;
  padding: clamp(3.8rem, 6vw, 5.5rem) 0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 170, 182, .14), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(0, 155, 69, .10), transparent 34%),
    linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%) !important;
  border-top: 1px solid rgba(8, 47, 73, .06);
}

body.home-page .home-contact-section--refined::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 44px solid rgba(111, 170, 182, .08);
  pointer-events: none;
}

body.home-page .home-contact-intro {
  max-width: 820px;
  margin: 0 auto 2.4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.home-page .home-contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: #eaf7ee;
  border: 1px solid #cbe9d4;
  color: #2d8a41;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
}

body.home-page .home-contact-title {
  margin: 0 auto .95rem;
  color: #082f49;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.045em;
  max-width: 780px;
}

body.home-page .home-contact-copy {
  margin: 0 auto;
  max-width: 760px;
  color: #526b7c;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

body.home-page .home-contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
}

body.home-page .home-contact-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

body.home-page .home-contact-card {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  padding: clamp(1.5rem, 2.5vw, 2.15rem);
  border: 1px solid rgba(8, 47, 73, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(8, 40, 58, .07);
}

body.home-page .home-contact-card-primary {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  background:
    radial-gradient(circle at 88% 18%, rgba(111, 170, 182, .18), transparent 28%),
    linear-gradient(135deg, #08283a 0%, #0b3548 100%) !important;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 22px 48px rgba(8, 40, 58, .18);
}

body.home-page .home-contact-card-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

body.home-page .home-contact-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #edf8f0;
  color: #2f8c43;
}

body.home-page .home-contact-card-primary .home-contact-icon {
  width: 70px;
  height: 70px;
  flex-basis: 70px;
  border-radius: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, .13);
}

body.home-page .home-contact-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .home-contact-card-label {
  display: inline-block;
  margin: 0 0 .6rem;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.home-page .home-contact-card h3 {
  margin: 0 0 .65rem;
  color: #082f49;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}

body.home-page .home-contact-card-primary h3 {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

body.home-page .home-contact-card p {
  margin: 0 0 1rem;
  color: #5a6f81;
  line-height: 1.65;
  font-size: 1rem;
}

body.home-page .home-contact-card-primary p {
  color: rgba(255, 255, 255, .82);
  max-width: 420px;
}

body.home-page .home-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.35rem;
  border-radius: 13px;
  background: #009b45;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(0, 155, 69, .22);
}

body.home-page .home-contact-button:hover,
body.home-page .home-contact-button:focus {
  background: #07833c;
  color: #ffffff;
  text-decoration: none;
}

body.home-page .home-contact-link {
  color: #248238;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.home-page .home-contact-link:hover,
body.home-page .home-contact-link:focus {
  color: #082f49;
  text-decoration: underline;
  text-underline-offset: .2em;
}

body.home-page .home-contact-address {
  margin: 0;
  color: #2f3f4e;
  font-style: normal;
  font-weight: 600;
  line-height: 1.6;
}

body.home-page .home-contact-search-note {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(8, 47, 73, .08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 40, 58, .045);
  color: #526b7c;
}

body.home-page .home-contact-search-note strong {
  color: #082f49;
  margin-right: .35rem;
}

body.home-page .home-contact-search-note a {
  flex: 0 0 auto;
  color: #248238;
  font-weight: 800;
  text-decoration: none;
}

body.home-page .home-contact-search-note a:hover,
body.home-page .home-contact-search-note a:focus {
  color: #082f49;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 991.98px) {
  body.home-page .home-contact-layout,
  body.home-page .home-contact-side {
    grid-template-columns: 1fr;
  }

  body.home-page .home-contact-card-primary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-contact-section--refined {
    padding: 3rem 0 !important;
  }

  body.home-page .home-contact-intro {
    text-align: left;
  }

  body.home-page .home-contact-card {
    border-radius: 20px;
    padding: 1.35rem;
  }

  body.home-page .home-contact-search-note {
    display: block;
  }

  body.home-page .home-contact-search-note a {
    display: inline-block;
    margin-top: .85rem;
  }
}

/* =========================================================
   CONTACT SECTION EQUAL CARDS / SOFTER CALL COLOUR
   Keeps the improved contact design, but gives the three
   contact boxes equal width/height and lightens the call card.
   ========================================================= */
body.home-page .home-contact-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
}

body.home-page .home-contact-side {
  display: contents !important;
}

body.home-page .home-contact-card,
body.home-page .home-contact-card-primary,
body.home-page .home-contact-card-secondary {
  min-height: 300px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 1.15rem !important;
}

body.home-page .home-contact-card-primary {
  grid-template-columns: none !important;
  align-items: flex-start !important;
  background:
    radial-gradient(circle at 92% 14%, rgba(255,255,255,.68), transparent 26%),
    linear-gradient(135deg, #eaf8fa 0%, #eef9f1 100%) !important;
  color: #082f49 !important;
  border: 1px solid rgba(111, 170, 182, .32) !important;
  box-shadow: 0 18px 42px rgba(8, 40, 58, .075) !important;
}

body.home-page .home-contact-card-primary .home-contact-icon {
  width: 58px !important;
  height: 58px !important;
  flex-basis: 58px !important;
  border-radius: 18px !important;
  color: #1d7f8e !important;
  background: rgba(111, 170, 182, .18) !important;
}

body.home-page .home-contact-card-label {
  color: #247787 !important;
}

body.home-page .home-contact-card-primary h3 {
  color: #082f49 !important;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem) !important;
}

body.home-page .home-contact-card-primary p {
  color: #526b7c !important;
  max-width: none !important;
}

body.home-page .home-contact-button {
  margin-top: auto !important;
  align-self: flex-start !important;
  background: #009b45 !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(0, 155, 69, .18) !important;
}

body.home-page .home-contact-card-secondary .home-contact-link,
body.home-page .home-contact-card-secondary .home-contact-address {
  margin-top: auto !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-contact-layout {
    grid-template-columns: 1fr !important;
  }

  body.home-page .home-contact-side {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.home-page .home-contact-card,
  body.home-page .home-contact-card-primary,
  body.home-page .home-contact-card-secondary {
    min-height: auto !important;
  }
}

/* =========================================================
   ILLUSTRATED ARC HOMEPAGE HERO
   Replaces the chimney photo with the lighter illustrated
   countryside image and recreates the curved arc treatment.
   ========================================================= */
body.home-page .home-hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: 405px !important;
  background: #ffffff !important;
  background-image: none !important;
}

body.home-page .home-hero::before {
  content: "";
  display: block !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(74vw, 1220px);
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/ics-hero-countryside-illustration.png') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  clip-path: ellipse(82% 118% at 100% 50%);
}

body.home-page .home-hero::after {
  content: "";
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31%;
  width: 23%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.92) 32%,
    rgba(255,255,255,.46) 68%,
    rgba(255,255,255,0) 100%);
}

body.home-page .home-hero-inner {
  position: relative !important;
  z-index: 2 !important;
}

body.home-page .home-search-panel {
  position: relative !important;
  z-index: 3 !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-hero {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 56%, #f7fbfc 100%) !important;
  }

  body.home-page .home-hero::before {
    top: auto;
    left: 0;
    width: 100%;
    height: 48%;
    opacity: .62;
    clip-path: none;
    background-size: cover !important;
    background-position: center right !important;
  }

  body.home-page .home-hero::after {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-hero::before {
    height: 42%;
    opacity: .42;
  }
}

/* =========================================================
   HERO SOFT BACKGROUND + SEARCH EMPHASIS TRIAL
   Adds a very light blue/green tint behind the hero copy and
   makes the search box stand out more against the pale hero.
   ========================================================= */
body.home-page .home-hero {
  background:
    radial-gradient(circle at 22% 28%, rgba(111, 170, 182, .16), transparent 34%),
    linear-gradient(90deg, #f7fcfd 0%, #f9fdfb 42%, #ffffff 68%) !important;
}

body.home-page .home-hero::after {
  background: linear-gradient(90deg,
    rgba(247,252,253,1) 0%,
    rgba(247,252,253,.94) 30%,
    rgba(247,252,253,.50) 66%,
    rgba(247,252,253,0) 100%) !important;
}

body.home-page .home-search-panel::before {
  content: "";
  position: absolute;
  inset: -30px -34px -28px -34px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(237,249,251,.58));
  box-shadow: 0 18px 55px rgba(8, 47, 73, .045);
  pointer-events: none;
}

body.home-page .home-search-input {
  background: #ffffff !important;
  border: 2px solid rgba(111, 170, 182, .34) !important;
  border-radius: 16px !important;
  box-shadow:
    0 18px 42px rgba(8, 47, 73, .12),
    0 0 0 7px rgba(111, 170, 182, .08) !important;
}

body.home-page .home-search-icon {
  color: #6f8fa0 !important;
  background: linear-gradient(180deg, #f6fbfc, #edf8f0) !important;
  border-right: 1px solid rgba(111, 170, 182, .18) !important;
}

body.home-page .home-search-input input {
  background: #ffffff !important;
  color: #082f49 !important;
}

body.home-page .home-search-input input::placeholder {
  color: #6f8290 !important;
}

body.home-page .home-search-input button {
  border-radius: 12px !important;
  box-shadow: 0 10px 22px rgba(0, 155, 69, .24) !important;
}

@media (max-width: 991.98px) {
  body.home-page .home-search-panel::before {
    inset: -18px -16px -18px -16px;
    border-radius: 22px;
  }

  body.home-page .home-search-icon {
    background: transparent !important;
    border-right: 0 !important;
  }
}


/* =========================================================
   MOBILE HOMEPAGE TRUST BAR REMOVAL
   Hides the Public Liability / ICS Trained / Certificates /
   UK & Ireland Coverage block on mobile so it no longer
   pushes into the search/map area.
   ========================================================= */

@media (max-width: 767.98px) {
  body.home-page .home-trust {
    display: none !important;
  }

  body.home-page .home-results-section {
    padding-top: 1.5rem !important;
  }
}

/* =========================================================
   CONTACT SECTION ICON + PILL ALIGNMENT
   Makes the contact section icons match the circular filled
   icon style used in the advice cards, and makes the
   "Get in touch" pill match the solid mid-blue site pill.
   ========================================================= */

body.home-page .home-contact-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0.72rem 1.65rem !important;
  border-radius: 999px !important;
  background: #78B8BF !important;
  border: 1px solid #78B8BF !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 12px 26px rgba(120, 184, 191, 0.22) !important;
}

/* Reset the older pale square contact icons */
body.home-page .home-contact-icon,
body.home-page .home-contact-card-primary .home-contact-icon {
  width: 78px !important;
  height: 78px !important;
  flex: 0 0 78px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(8, 40, 58, 0.12) !important;
}

/* Match the colour rhythm from the advice cards */
body.home-page .home-contact-card-primary .home-contact-icon {
  background: #72b8c2 !important;
  box-shadow: 0 8px 18px rgba(114, 184, 194, 0.22) !important;
}

body.home-page .home-contact-card-secondary:nth-child(1) .home-contact-icon {
  background: #5b955f !important;
  box-shadow: 0 8px 18px rgba(91, 149, 95, 0.22) !important;
}

body.home-page .home-contact-card-secondary:nth-child(2) .home-contact-icon {
  background: #c8b566 !important;
  box-shadow: 0 8px 18px rgba(200, 181, 102, 0.24) !important;
}

/* Make the SVGs consistent with the advice icon SVGs */
body.home-page .home-contact-icon svg,
body.home-page .home-contact-card-primary .home-contact-icon svg {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Improve spacing now that icons are larger and circular */
body.home-page .home-contact-card,
body.home-page .home-contact-card-primary,
body.home-page .home-contact-card-secondary {
  gap: 1.35rem !important;
}

body.home-page .home-contact-card h3 {
  margin-top: 0 !important;
}

body.home-page .home-contact-card-primary {
  background:
    radial-gradient(circle at 92% 14%, rgba(255,255,255,.68), transparent 26%),
    linear-gradient(135deg, #eaf8fa 0%, #eef9f1 100%) !important;
}

/* Keep the phone button from stretching too wide visually */
body.home-page .home-contact-button {
  width: auto !important;
  min-width: 170px !important;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  body.home-page .home-contact-kicker {
    min-height: 46px !important;
    font-size: 1rem !important;
  }

  body.home-page .home-contact-icon,
  body.home-page .home-contact-card-primary .home-contact-icon {
    width: 68px !important;
    height: 68px !important;
    flex-basis: 68px !important;
  }

  body.home-page .home-contact-icon svg,
  body.home-page .home-contact-card-primary .home-contact-icon svg {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 575.98px) {
  body.home-page .home-contact-intro {
    text-align: center !important;
  }

  body.home-page .home-contact-icon,
  body.home-page .home-contact-card-primary .home-contact-icon {
    width: 64px !important;
    height: 64px !important;
    flex-basis: 64px !important;
  }

  body.home-page .home-contact-icon svg,
  body.home-page .home-contact-card-primary .home-contact-icon svg {
    width: 34px !important;
    height: 34px !important;
  }

  body.home-page .home-contact-button {
    width: 100% !important;
  }
}

/* Home page CSS cleaned: global header/footer/nav overrides have been moved out of this page file. */
