:root {
  --ivm-navy: #0f172a;
  --ivm-navy-2: #172554;
  --ivm-blue: #1d4ed8;
  --ivm-orange: #f97316;
  --ivm-orange-dark: #c2410c;
  --ivm-white: #ffffff;
  --ivm-text: #1f2937;
  --ivm-muted: #64748b;
  --ivm-line: #dbe3ec;
  --ivm-soft: #f5f7fb;
  --ivm-soft-orange: #fff7ed;
  --ivm-radius: 22px;
  --ivm-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.ivm-page,
.ivm-page * {
  box-sizing: border-box;
}

.ivm-page {
  background: var(--ivm-white);
  color: var(--ivm-text);
  font-family: inherit;
  overflow: hidden;
}

.ivm-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ivm-section {
  padding: 88px 0;
}

.ivm-section--soft {
  background: var(--ivm-soft);
}

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

.ivm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ivm-orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ivm-eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.ivm-title {
  max-width: 900px;
  margin: 0;
  color: var(--ivm-navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.ivm-section--navy .ivm-title,
.ivm-hero .ivm-title {
  color: var(--ivm-white);
}

.ivm-lead {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--ivm-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.75;
}

.ivm-section--navy .ivm-lead,
.ivm-hero .ivm-lead {
  color: #dbeafe;
}

.ivm-hero {
  position: relative;
  padding: 108px 0 92px;
  background:
    radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.24), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(37, 99, 235, 0.20), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172554 60%, #111827 100%);
  color: var(--ivm-white);
}

.ivm-hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  content: "";
}

.ivm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 54px;
  align-items: center;
}

.ivm-hero__panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--ivm-radius);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--ivm-shadow);
  backdrop-filter: blur(12px);
}

.ivm-hero__panel h2 {
  margin: 0 0 18px;
  color: var(--ivm-white);
  font-size: 1.25rem;
}

.ivm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ivm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ivm-button:hover,
.ivm-button:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
}

.ivm-button--primary {
  background: var(--ivm-orange);
  color: #111827;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.26);
}

.ivm-button--primary:hover,
.ivm-button--primary:focus-visible {
  background: #fb923c;
  color: #111827;
}

.ivm-button--secondary {
  border-color: rgba(255,255,255,0.72);
  color: var(--ivm-white);
}

.ivm-button--secondary:hover,
.ivm-button--secondary:focus-visible {
  background: var(--ivm-white);
  color: var(--ivm-navy);
}

.ivm-button--outline {
  border-color: var(--ivm-navy);
  color: var(--ivm-navy);
}

.ivm-button--outline:hover,
.ivm-button--outline:focus-visible {
  background: var(--ivm-navy);
  color: var(--ivm-white);
}

.ivm-breadcrumbs {
  padding: 18px 0;
  background: #eef2f7;
  color: #475569;
  font-size: 0.92rem;
}

.ivm-breadcrumbs a {
  color: var(--ivm-navy-2);
  font-weight: 700;
  text-decoration: none;
}

.ivm-breadcrumbs span {
  margin: 0 8px;
  color: #94a3b8;
}

.ivm-grid {
  display: grid;
  gap: 24px;
}

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

.ivm-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ivm-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ivm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--ivm-line);
  border-radius: var(--ivm-radius);
  background: var(--ivm-white);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

/* Vertical-market hub cards with locally packaged CC0 images. */
.ivm-market-card {
  padding: 0;
  overflow: hidden;
}

.ivm-market-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.ivm-market-card__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.26));
  pointer-events: none;
  content: "";
}

.ivm-market-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ivm-market-card__media:hover img,
.ivm-market-card__media:focus-visible img {
  transform: scale(1.035);
}

.ivm-market-card__media:focus-visible {
  outline: 4px solid var(--ivm-orange);
  outline-offset: -4px;
}

.ivm-market-card__content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.ivm-card--dark {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--ivm-white);
}

.ivm-card__number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 900;
}

.ivm-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--ivm-soft-orange);
  color: var(--ivm-orange-dark);
}

.ivm-card__icon .dashicons {
  width: auto;
  height: auto;
  font-size: 28px;
}

.ivm-card h2,
.ivm-card h3 {
  margin: 0 0 12px;
  color: var(--ivm-navy);
  line-height: 1.25;
}

.ivm-card--dark h2,
.ivm-card--dark h3 {
  color: var(--ivm-white);
}

.ivm-card p {
  margin: 0;
  color: var(--ivm-muted);
  line-height: 1.7;
}

.ivm-card--dark p {
  color: #cbd5e1;
}

.ivm-card__footer {
  margin-top: auto;
  padding-top: 22px;
}

.ivm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivm-blue);
  font-weight: 800;
  text-decoration: none;
}

.ivm-link:hover,
.ivm-link:focus-visible {
  color: var(--ivm-orange-dark);
  text-decoration: underline;
}

.ivm-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.ivm-market-card .ivm-region-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.ivm-market-card .ivm-region-link {
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.ivm-region-link {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid #d8e0ea;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.ivm-region-link:hover,
.ivm-region-link:focus-visible {
  border-color: var(--ivm-orange);
  background: var(--ivm-soft-orange);
  color: var(--ivm-orange-dark);
}

.ivm-check-list,
.ivm-feature-list,
.ivm-plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ivm-check-list {
  display: grid;
  gap: 14px;
}

.ivm-check-list li {
  position: relative;
  padding-left: 31px;
  line-height: 1.55;
}

.ivm-check-list li::before {
  position: absolute;
  top: 0.12em;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--ivm-orange);
  color: #111827;
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
}

.ivm-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ivm-feature-list li {
  padding: 18px;
  border: 1px solid var(--ivm-line);
  border-radius: 16px;
  background: var(--ivm-white);
  color: var(--ivm-navy);
  font-weight: 800;
  text-align: center;
}

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

.ivm-stat {
  padding: 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.60);
}

.ivm-stat strong {
  display: block;
  color: var(--ivm-orange);
  font-size: 1.6rem;
}

.ivm-stat span {
  display: block;
  margin-top: 6px;
  color: #dbeafe;
  font-size: 0.9rem;
}

.ivm-search-box {
  padding: 28px;
  border: 1px solid var(--ivm-line);
  border-radius: var(--ivm-radius);
  background: var(--ivm-white);
  box-shadow: var(--ivm-shadow);
}

.ivm-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.ivm-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ivm-navy);
  font-weight: 800;
}

.ivm-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: var(--ivm-white);
  color: var(--ivm-text);
  font: inherit;
}

.ivm-custom-content {
  margin-top: 32px;
  padding: 28px;
  border-left: 5px solid var(--ivm-orange);
  border-radius: 0 16px 16px 0;
  background: #fffaf5;
  line-height: 1.75;
}

.ivm-custom-content > :first-child {
  margin-top: 0;
}

.ivm-custom-content > :last-child {
  margin-bottom: 0;
}

.ivm-process {
  counter-reset: ivm-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ivm-process__item {
  counter-increment: ivm-step;
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--ivm-line);
  border-radius: 18px;
  background: var(--ivm-white);
}

.ivm-process__item::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ivm-navy);
  color: var(--ivm-white);
  content: counter(ivm-step);
  font-weight: 900;
}

.ivm-process__item h3 {
  margin: 0 0 10px;
  color: var(--ivm-navy);
}

.ivm-process__item p {
  margin: 0;
  color: var(--ivm-muted);
  line-height: 1.65;
}

.ivm-faq {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.ivm-faq details {
  border: 1px solid var(--ivm-line);
  border-radius: 16px;
  background: var(--ivm-white);
  overflow: hidden;
}

.ivm-faq summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  color: var(--ivm-navy);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.ivm-faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--ivm-orange-dark);
  content: "+";
  font-size: 1.6rem;
  font-weight: 500;
}

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

.ivm-faq__answer {
  padding: 0 24px 22px;
  color: var(--ivm-muted);
  line-height: 1.75;
}

.ivm-cta {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(249,115,22,0.24), transparent 30%),
    linear-gradient(135deg, #172554, #0f172a);
  color: var(--ivm-white);
  box-shadow: var(--ivm-shadow);
}

.ivm-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ivm-white);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.ivm-cta p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.75;
}

.ivm-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ivm-service-links a {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: var(--ivm-white);
  font-weight: 700;
  text-decoration: none;
}

.ivm-service-links a:hover,
.ivm-service-links a:focus-visible {
  border-color: var(--ivm-orange);
  background: rgba(249,115,22,0.12);
}

.ivm-location-card {
  display: block;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--ivm-line);
  border-radius: 16px;
  background: var(--ivm-white);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ivm-location-card:hover,
.ivm-location-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ivm-orange);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}

.ivm-location-card strong {
  display: block;
  color: var(--ivm-navy);
  font-size: 1.05rem;
}

.ivm-location-card span {
  display: block;
  margin-top: 7px;
  color: var(--ivm-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ivm-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: var(--ivm-soft-orange);
  color: #7c2d12;
  line-height: 1.65;
}

.ivm-installer {
  padding: 70px 0;
}

.ivm-installer__panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--ivm-line);
  border-radius: var(--ivm-radius);
  background: var(--ivm-white);
  box-shadow: var(--ivm-shadow);
}

.ivm-installer__results {
  max-height: 430px;
  margin-top: 24px;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--ivm-line);
  border-radius: 14px;
  background: #f8fafc;
}

.ivm-installer__results li {
  margin-bottom: 7px;
}

@media (max-width: 1020px) {
  .ivm-hero__inner,
  .ivm-grid--3,
  .ivm-grid--4,
  .ivm-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ivm-search-form {
    grid-template-columns: 1fr 1fr;
  }

  .ivm-search-form .ivm-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ivm-container {
    width: min(100% - 28px, 1180px);
  }

  .ivm-section {
    padding: 64px 0;
  }

  .ivm-hero {
    padding: 78px 0 64px;
  }

  .ivm-hero__inner,
  .ivm-grid--2,
  .ivm-grid--3,
  .ivm-grid--4,
  .ivm-feature-list,
  .ivm-process,
  .ivm-search-form,
  .ivm-stat-grid {
    grid-template-columns: 1fr;
  }

  .ivm-search-form .ivm-button {
    grid-column: auto;
  }

  .ivm-card,
  .ivm-search-box {
    padding: 22px;
  }

  .ivm-cta {
    padding: 34px 24px;
  }
}


/* UK region and local-search grouping added in version 1.2.0. */
.ivm-location-group {
    margin-top: 64px;
    padding-top: 52px;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.ivm-search-form optgroup {
    font-weight: 700;
    color: #0f172a;
}

@media (max-width: 520px) {
  .ivm-market-card .ivm-region-links {
    grid-template-columns: 1fr;
  }
}
