/* Icearth Gutenberg Patterns — scoped, theme-friendly visual system */
.icearth-home,
.icearth-rfq-cta {
  --ice-ink: #10233c;
  --ice-muted: #60728a;
  --ice-blue: #0b67d0;
  --ice-blue-dark: #074b9e;
  --ice-border: #e0e9f3;
  --ice-surface: #f7faff;
  --ice-deep: #0b1d34;
  --ice-radius: 16px;
  color: var(--ice-ink);
}

.icearth-home *, .icearth-rfq-cta * { box-sizing: border-box; }
.icearth-home .wp-block-heading, .icearth-rfq-cta .wp-block-heading { color: var(--ice-ink); }
.icearth-home .icearth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px;
  margin: 0 0 16px;
  border: 1px solid rgba(11,103,208,.15);
  border-radius: 5px;
  background: rgba(11,103,208,.06);
  color: var(--ice-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.icearth-home .icearth-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.icearth-home .icearth-kicker {
  color: var(--ice-muted);
  font-size: .97rem;
  line-height: 1.7;
}
.icearth-home .icearth-section {
  padding: clamp(54px, 7vw, 96px) 0;
}
.icearth-home .icearth-section > .wp-block-group__inner-container,
.icearth-home .icearth-section > .wp-block-columns,
.icearth-home .icearth-section > .wp-block-group { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* Hero */
.icearth-home .icearth-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) 0 clamp(42px, 6vw, 76px);
  background:
    radial-gradient(circle at 100% 15%, rgba(11,103,208,.10), transparent 24%),
    linear-gradient(150deg, #fbfdff 0%, #eef5fc 100%);
}
.icearth-home .icearth-hero::after {
  content: '';
  position: absolute;
  right: -84px;
  top: 16px;
  width: min(45vw, 510px);
  height: min(45vw, 510px);
  opacity: .48;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11,103,208,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,103,208,.13) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: rotate(-13deg);
  -webkit-mask-image: radial-gradient(circle at center, #000 12%, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 12%, transparent 68%);
}
.icearth-home .icearth-hero .wp-block-columns { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; align-items: center; gap: clamp(30px, 5vw, 68px); }
.icearth-home .icearth-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--ice-ink);
  font-size: clamp(2.45rem, 5.6vw, 4.7rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.03;
}
.icearth-home .icearth-hero h1 strong { color: var(--ice-blue); }
.icearth-home .icearth-hero .wp-block-buttons { margin-top: 28px; gap: 11px; }
.icearth-home .icearth-hero .wp-block-button__link,
.icearth-home .icearth-cta .wp-block-button__link {
  border-radius: 7px;
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.icearth-home .icearth-hero .wp-block-button__link:hover,
.icearth-home .icearth-cta .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,103,208,.22); }
.icearth-home .icearth-hero .is-style-outline .wp-block-button__link {
  color: var(--ice-ink);
  border-color: #bfcfe0;
  background: #fff;
  box-shadow: none;
}
.icearth-home .icearth-checks { margin-top: 28px; gap: 12px 18px; }
.icearth-home .icearth-checks p {
  position: relative;
  padding-left: 24px;
  margin: 0;
  color: #40536b;
  font-size: .79rem;
}
.icearth-home .icearth-checks p::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(11,103,208,.10);
  color: var(--ice-blue);
  font-size: .64rem;
  font-weight: 800;
}

/* RFQ search card */
.icearth-home .icearth-search-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #e3ebf4;
  border-radius: var(--ice-radius);
  background: #fff;
  box-shadow: 0 16px 46px rgba(15,42,78,.12), 0 2px 8px rgba(15,42,78,.04);
}
.icearth-home .icearth-search-card h2 { margin: 0 0 7px; font-size: 1.25rem; letter-spacing: -.025em; }
.icearth-home .icearth-search-card > p { margin: 0 0 18px; color: var(--ice-muted); font-size: .86rem; line-height: 1.65; }
.icearth-mpn-search { display: flex; gap: 8px; margin: 0 0 16px; }
.icearth-mpn-search input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1px solid #cfdae7;
  border-radius: 7px;
  padding: 0 13px;
  color: var(--ice-ink);
  outline: 0;
  font: inherit;
}
.icearth-mpn-search input:focus { border-color: var(--ice-blue); box-shadow: 0 0 0 3px rgba(11,103,208,.10); }
.icearth-mpn-search button {
  border: 0;
  border-radius: 7px;
  padding: 0 15px;
  background: var(--ice-blue);
  color: #fff;
  font: inherit;
  font-size: .83rem;
  font-weight: 750;
  cursor: pointer;
}
.icearth-mpn-search button:hover { background: var(--ice-blue-dark); }
.icearth-home .icearth-search-note {
  padding: 14px 15px;
  border-radius: 9px;
  background: #f5f9fd;
  color: #52647b;
  font-size: .78rem;
  line-height: 1.65;
}
.icearth-home .icearth-search-note strong { display: block; margin-bottom: 4px; color: var(--ice-ink); }
.icearth-home .icearth-search-card .wp-block-button { margin-top: 17px; }

/* Trust strip */
.icearth-home .icearth-trust { padding: 0; border-bottom: 1px solid var(--ice-border); background: #fbfcfe; }
.icearth-home .icearth-trust .wp-block-columns { max-width: 1180px; margin: 0 auto; gap: 0; }
.icearth-home .icearth-trust .wp-block-column { padding: 23px 22px; border-right: 1px solid var(--ice-border); }
.icearth-home .icearth-trust .wp-block-column:last-child { border-right: 0; }
.icearth-home .icearth-trust h3 { margin: 0 0 4px; color: var(--ice-ink); font-size: .87rem; letter-spacing: -.01em; }
.icearth-home .icearth-trust p { margin: 0; color: var(--ice-muted); font-size: .76rem; line-height: 1.55; }

/* Generic headings and cards */
.icearth-home .icearth-heading-center { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.icearth-home .icearth-heading-center h2,
.icearth-home .icearth-section-title { margin: 0 0 13px; font-size: clamp(1.85rem, 3.3vw, 3.05rem); letter-spacing: -.045em; line-height: 1.1; }
.icearth-home .icearth-heading-center p,
.icearth-home .icearth-section-title + p { margin: 0; color: var(--ice-muted); font-size: 1rem; line-height: 1.7; }
.icearth-home .icearth-service-grid { gap: 18px; }
.icearth-home .icearth-card {
  height: 100%;
  padding: 27px 24px;
  border: 1px solid var(--ice-border);
  border-radius: 12px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.icearth-home .icearth-card:hover { transform: translateY(-4px); border-color: #bfd8f2; box-shadow: 0 14px 30px rgba(15,42,78,.08); }
.icearth-home .icearth-card .icearth-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 9px;
  background: #eaf4ff;
  color: var(--ice-blue);
  font-size: 1.3rem;
}
.icearth-home .icearth-card h3 { margin: 0 0 7px; font-size: 1.06rem; letter-spacing: -.02em; }
.icearth-home .icearth-card p { margin: 0; color: var(--ice-muted); font-size: .87rem; line-height: 1.65; }
.icearth-home .icearth-card a { display: inline-block; margin-top: 16px; color: var(--ice-blue); font-size: .82rem; font-weight: 750; text-decoration: none; }
.icearth-home .icearth-card a:hover { color: var(--ice-blue-dark); }

/* Process */
.icearth-home .icearth-process { background: var(--ice-surface); border-top: 1px solid var(--ice-border); border-bottom: 1px solid var(--ice-border); }
.icearth-home .icearth-process .wp-block-columns { gap: clamp(36px, 7vw, 82px); align-items: flex-start; }
.icearth-home .icearth-point { position: relative; padding-left: 32px; margin: 18px 0 0; }
.icearth-home .icearth-point::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: rgba(11,103,208,.09); color: var(--ice-blue); font-size: .7rem; font-weight: 800; }
.icearth-home .icearth-point strong { display: block; margin-bottom: 2px; font-size: .89rem; }
.icearth-home .icearth-point span { color: var(--ice-muted); font-size: .81rem; line-height: 1.6; }
.icearth-home .icearth-steps { gap: 11px; }
.icearth-home .icearth-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 18px 18px; border: 1px solid var(--ice-border); border-radius: 11px; background: #fff; }
.icearth-home .icearth-step-number { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #cbd9e7; border-radius: 50%; color: var(--ice-blue); font-size: .78rem; font-weight: 800; }
.icearth-home .icearth-step h3 { margin: 0 0 3px; font-size: .93rem; }
.icearth-home .icearth-step p { margin: 0; color: var(--ice-muted); font-size: .8rem; line-height: 1.55; }

/* Categories and callout */
.icearth-home .icearth-categories { background: #fbfcfe; }
.icearth-home .icearth-categories .wp-block-columns { gap: clamp(34px, 5vw, 64px); align-items: center; }
.icearth-home .icearth-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.icearth-home .icearth-category-grid a { padding: 16px 15px; border: 1px solid var(--ice-border); border-radius: 9px; background: #fff; color: var(--ice-ink); text-decoration: none; }
.icearth-home .icearth-category-grid a:hover { border-color: var(--ice-blue); box-shadow: 0 7px 18px rgba(11,103,208,.07); }
.icearth-home .icearth-category-grid strong { display: block; margin-bottom: 3px; font-size: .85rem; }
.icearth-home .icearth-category-grid span { color: var(--ice-muted); font-size: .73rem; line-height: 1.45; }
.icearth-home .icearth-board {
  position: relative;
  min-height: 380px;
  padding: 32px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(rgba(129,190,244,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,190,244,.10) 1px, transparent 1px),
    linear-gradient(155deg, #0a1d34, #123e69);
  background-size: 24px 24px, 24px 24px, auto;
  color: #e6f4ff;
}
.icearth-home .icearth-board::before { content: 'EOL\A IC'; white-space: pre; position: absolute; right: 18%; top: 21%; display: grid; width: 126px; height: 126px; place-items: center; border: 1px solid rgba(169,219,255,.42); border-radius: 12px; background: rgba(11,103,208,.10); box-shadow: inset 0 0 28px rgba(99,187,247,.10), 0 0 38px rgba(53,157,231,.12); color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: .08em; text-align: center; }
.icearth-home .icearth-board::after { content: ''; position: absolute; width: 8px; height: 8px; right: 57px; top: 64px; border-radius: 50%; background: #70c9ff; box-shadow: 0 0 0 6px rgba(112,201,255,.11), -156px 104px 0 #70c9ff, -156px 104px 0 6px rgba(112,201,255,.11), -10px 236px 0 #70c9ff, -10px 236px 0 6px rgba(112,201,255,.11); }
.icearth-home .icearth-board-content { position: absolute; left: 32px; bottom: 30px; z-index: 1; max-width: 300px; }
.icearth-home .icearth-board-content .icearth-eyebrow { border-color: rgba(190,226,255,.18); background: rgba(190,226,255,.08); color: #cdeeff; }
.icearth-home .icearth-board-content h3 { margin: 0 0 8px; color: #fff; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1.12; }
.icearth-home .icearth-board-content p { margin: 0; color: #bad5e9; font-size: .84rem; line-height: 1.65; }

/* Quality */
.icearth-home .icearth-quality { margin-top: 58px; overflow: hidden; border-radius: 14px; background: var(--ice-deep); color: #e8f5ff; }
.icearth-home .icearth-quality .wp-block-columns { gap: 0; align-items: stretch; }
.icearth-home .icearth-quality-copy { padding: clamp(32px, 5vw, 54px); background: linear-gradient(135deg, #0b1d34, #123e69); }
.icearth-home .icearth-quality .icearth-eyebrow { border-color: rgba(167,216,255,.18); background: rgba(167,216,255,.08); color: #bfe4ff; }
.icearth-home .icearth-quality h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.04em; line-height: 1.12; }
.icearth-home .icearth-quality p { color: #b5d0e3; font-size: .92rem; line-height: 1.7; }
.icearth-home .icearth-quality-list { margin: 22px 0 25px; padding: 0; list-style: none; }
.icearth-home .icearth-quality-list li { position: relative; padding-left: 28px; margin: 10px 0; color: #d2e7f5; font-size: .85rem; }
.icearth-home .icearth-quality-list li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 5px; background: rgba(100,220,157,.15); color: #92eec1; font-size: .66rem; font-weight: 800; }
.icearth-home .icearth-quality-visual { display: grid; min-height: 310px; place-items: center; background: radial-gradient(circle at 70% 22%, rgba(57,158,233,.35), transparent 34%), linear-gradient(150deg, #0a375d, #07517f); }
.icearth-home .icearth-quality-badge { display: grid; width: 170px; height: 170px; place-items: center; border: 1px solid rgba(190,230,255,.48); border-radius: 50%; background: rgba(3,29,52,.21); box-shadow: inset 0 0 35px rgba(116,211,255,.12), 0 0 36px rgba(97,204,255,.12); color: #e3f6ff; text-align: center; }
.icearth-home .icearth-quality-badge small { color: #bde8ff; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.icearth-home .icearth-quality-badge strong { display: block; margin: 7px 0; color: #fff; font-size: 2rem; }

/* Resources */
.icearth-home .icearth-resources { background: #f7faff; border-top: 1px solid var(--ice-border); }
.icearth-home .icearth-resource-grid { gap: 18px; }
.icearth-home .icearth-resource-card { overflow: hidden; border: 1px solid var(--ice-border); border-radius: 11px; background: #fff; }
.icearth-home .icearth-resource-art { height: 116px; background: linear-gradient(135deg, #e7f3ff, #f3f8fd); }
.icearth-home .icearth-resource-card:nth-child(2) .icearth-resource-art { background: linear-gradient(135deg, #edf8ef, #f5fbff); }
.icearth-home .icearth-resource-card:nth-child(3) .icearth-resource-art { background: linear-gradient(135deg, #f4effd, #f8f5ff); }
.icearth-home .icearth-resource-copy { padding: 19px 20px 21px; }
.icearth-home .icearth-resource-copy small { color: var(--ice-blue); font-size: .66rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.icearth-home .icearth-resource-copy h3 { margin: 7px 0 8px; font-size: 1rem; line-height: 1.32; letter-spacing: -.02em; }
.icearth-home .icearth-resource-copy p { margin: 0; color: var(--ice-muted); font-size: .81rem; line-height: 1.6; }

/* Closing CTA */
.icearth-home .icearth-cta,
.icearth-rfq-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(35px, 5vw, 56px);
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1d34, #154d7e);
  color: #fff;
}
.icearth-home .icearth-cta::before,
.icearth-rfq-cta::before { content: ''; position: absolute; right: -94px; top: -142px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.025); }
.icearth-home .icearth-cta .wp-block-columns,
.icearth-rfq-cta .wp-block-columns { position: relative; z-index: 1; align-items: center; gap: 28px; }
.icearth-home .icearth-cta h2,
.icearth-rfq-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.04em; line-height: 1.13; }
.icearth-home .icearth-cta p,
.icearth-rfq-cta p { margin: 0; color: #c4dded; font-size: .92rem; line-height: 1.65; }
.icearth-home .icearth-cta .wp-block-button__link,
.icearth-rfq-cta .wp-block-button__link { background: #fff; color: #0b4e8b; }

@media (max-width: 781px) {
  .icearth-home .icearth-hero .wp-block-columns,
  .icearth-home .icearth-process .wp-block-columns,
  .icearth-home .icearth-categories .wp-block-columns,
  .icearth-home .icearth-quality .wp-block-columns,
  .icearth-home .icearth-cta .wp-block-columns,
  .icearth-rfq-cta .wp-block-columns { gap: 28px; }
  .icearth-home .icearth-trust .wp-block-columns { gap: 0; }
  .icearth-home .icearth-trust .wp-block-column { border-right: 0; border-bottom: 1px solid var(--ice-border); }
  .icearth-home .icearth-trust .wp-block-column:last-child { border-bottom: 0; }
  .icearth-home .icearth-board { min-height: 330px; }
  .icearth-home .icearth-quality { margin-top: 36px; }
}
@media (max-width: 520px) {
  .icearth-home .icearth-hero h1 { font-size: 2.45rem; }
  .icearth-mpn-search { flex-direction: column; }
  .icearth-mpn-search button { min-height: 45px; }
  .icearth-home .icearth-category-grid { grid-template-columns: 1fr; }
  .icearth-home .icearth-board::before { right: 13%; top: 17%; width: 112px; height: 112px; }
}
