/* Inqord inner-page design system (iq-*), used by pages extending layouts.front */

/* ---------- Page banner ---------- */
.iq-page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cta-gradient);
  padding: 96px 0 104px;
  color: #fff;
  text-align: center;
}
.iq-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}
.iq-page-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 64px solid rgba(255, 255, 255, .04);
}
.iq-page-banner-inner { max-width: 860px; margin: 0 auto; }
.iq-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  margin-bottom: 24px;
  border-radius: 40px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.iq-crumb a { color: #fff !important; }
.iq-crumb a:hover { color: #8fb8ff !important; }
.iq-crumb i { font-size: 10px; opacity: .7; }
.iq-crumb span { color: #8fb8ff; }
.iq-page-banner h1 {
  color: #fff !important;
  font-size: clamp(34px, 4.6vw, 60px) !important;
  line-height: 1.12 !important;
  font-weight: 700;
  margin: 0 0 18px;
}
.iq-page-banner h1 span { color: #8fb8ff; }
.iq-page-banner p { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.7; max-width: 680px; margin: 0 auto; }
.iq-page-banner .iq-banner-extra { margin-top: 34px; }

/* ---------- Sections ---------- */
.iq-section { position: relative; padding: 100px 0; }
.iq-section.pt-0 { padding-top: 0; }
.iq-section-sm { padding: 70px 0; }
.iq-grey { background: var(--base-grey); }
.iq-dark { background: var(--base-dark); color: rgba(255, 255, 255, .8); }
.iq-dark :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
.iq-overlap { margin-top: -60px; position: relative; z-index: 2; }

.iq-heading { margin-bottom: 50px; }
.iq-heading.text-center { max-width: 760px; margin-left: auto; margin-right: auto; }
.iq-heading .iq-sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--base-skin);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.iq-heading .iq-sub::before { content: ""; width: 26px; height: 2px; background: var(--base-skin); border-radius: 2px; }
.iq-heading h2 {
  color: var(--base-dark);
  font-size: clamp(28px, 3.2vw, 46px) !important;
  line-height: 1.18 !important;
  font-weight: 700;
  margin: 0 0 16px;
}
.iq-heading h2 span { color: var(--base-skin); }
.iq-heading p { color: var(--text-muted); font-size: 17px; margin: 0; }
.iq-dark .iq-heading h2 { color: #fff; }
.iq-dark .iq-heading p { color: rgba(255, 255, 255, .72); }

/* ---------- Cards ---------- */
.iq-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(0, 23, 70, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.iq-card:hover { transform: translateY(-6px); border-color: var(--primary-border-soft); box-shadow: 0 24px 50px rgba(0, 23, 70, .12); }
.iq-card.no-hover:hover { transform: none; }
.iq-card h3, .iq-card h4 { color: var(--base-dark); font-size: 21px !important; line-height: 1.35 !important; font-weight: 700; margin: 0 0 10px; }
.iq-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.iq-card-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary-bg);
  color: var(--base-skin);
  font-size: 28px;
  margin-bottom: 24px;
  transition: all .3s ease;
}
.iq-card:hover .iq-card-icon { background: var(--base-skin); color: #fff; transform: rotate(-6deg); }
.iq-card-img { margin: -34px -30px 24px; border-radius: 22px 22px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--base-grey); }
.iq-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.iq-card:hover .iq-card-img img { transform: scale(1.05); }
.iq-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--base-skin) !important; }
.iq-card-link:hover { color: var(--base-dark) !important; }

.iq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--primary-bg);
  color: var(--base-skin);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.iq-badge.dark { background: var(--base-dark); color: #fff; }
.iq-badge.success { background: #e6f7ee; color: #1a8a4c; }
.iq-badge.warning { background: #fff4e0; color: #b26a00; }
.iq-badge.danger { background: #fde8e8; color: #c0392b; }

.iq-check-list { list-style: none; padding: 0 !important; margin: 0; }
.iq-check-list li { position: relative; padding: 7px 0 7px 32px; color: #3d4a5c; font-size: 15px; line-height: 1.6; list-style: none; }
.iq-check-list li::before {
  content: "\e64c";
  font-family: "themify";
  position: absolute;
  left: 0;
  top: 9px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--base-skin);
  font-size: 10px;
}

/* ---------- Pricing ---------- */
.iq-price-card { display: flex; flex-direction: column; text-align: left; }
.iq-price-card.featured { background: var(--base-dark); border-color: var(--base-dark); color: rgba(255, 255, 255, .8); }
.iq-price-card.featured :is(h3, h4, .iq-price) { color: #fff; }
.iq-price-card.featured p { color: rgba(255, 255, 255, .7); }
.iq-price-card.featured .iq-check-list li { color: rgba(255, 255, 255, .85); }
.iq-price-card.featured .iq-check-list li::before { background: rgba(255, 255, 255, .12); color: #fff; }
.iq-price-card .iq-ribbon { position: absolute; top: 24px; right: 24px; }
.iq-price { font-size: 44px; font-weight: 800; line-height: 1; color: var(--base-dark); margin: 18px 0 6px; font-family: var(--base-headingfont); }
.iq-price small { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.iq-price-card.featured .iq-price small { color: rgba(255, 255, 255, .6); }
.iq-price-card .iq-check-list { margin: 24px 0 30px; flex: 1; }
.iq-divider { height: 1px; background: #e6ebf3; margin: 22px 0; border: 0; opacity: 1; }
.iq-price-card.featured .iq-divider { background: rgba(255, 255, 255, .12); }

/* ---------- Buttons ---------- */
.inner-main .prt-btn { cursor: pointer; text-align: center; }
.iq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid var(--base-skin);
  background: var(--base-skin);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none !important;
  position: static;
}
.iq-btn:hover { background: var(--base-dark); border-color: var(--base-dark); color: #fff !important; transform: translateY(-2px); }
.iq-btn.dark { background: var(--base-dark); border-color: var(--base-dark); }
.iq-btn.dark:hover { background: var(--base-skin); border-color: var(--base-skin); }
.iq-btn.outline { background: transparent; color: var(--base-dark) !important; border-color: #d5deec; }
.iq-btn.outline:hover { background: var(--base-dark); border-color: var(--base-dark); color: #fff !important; }
.iq-btn.light { background: #fff; border-color: #fff; color: var(--base-dark) !important; }
.iq-btn.light:hover { background: transparent; color: #fff !important; }
.iq-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff !important; }
.iq-btn.ghost:hover { background: #fff; color: var(--base-dark) !important; }
.iq-btn.sm { padding: 9px 20px; font-size: 14px; }
.iq-btn.block { width: 100%; }
.iq-btn:disabled, .iq-btn.disabled { opacity: .6; pointer-events: none; }

/* ---------- CTA band ---------- */
.iq-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 30px;
  padding: 60px 64px;
  background: var(--base-skin);
  color: #fff;
}
.iq-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, .08);
}
.iq-cta h2, .iq-cta h3 { color: #fff !important; font-size: clamp(26px, 3vw, 40px) !important; line-height: 1.2 !important; margin: 0 0 12px; }
.iq-cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 17px; }

/* ---------- Forms ---------- */
.iq-form-card { background: #fff; border: 1px solid #e6ebf3; border-radius: 26px; padding: 44px; box-shadow: 0 20px 50px rgba(0, 23, 70, .08); }
.iq-form label, .iq-form .form-label { display: block; font-weight: 600; color: var(--base-dark); font-size: 14px; margin-bottom: 8px; }
.iq-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid #dfe5ef;
  border-radius: 14px;
  background: #f8fafd;
  color: var(--base-dark);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.iq-form textarea { min-height: 140px; resize: vertical; }
.iq-form :is(input, select, textarea):focus { outline: none; border-color: var(--base-skin); background: #fff; box-shadow: 0 0 0 4px var(--accent-shadow-xs); }
.iq-form .iq-field { margin-bottom: 22px; }

/* ---------- Info list ---------- */
.iq-info { display: flex; gap: 18px; align-items: flex-start; }
.iq-info + .iq-info { margin-top: 26px; }
.iq-info-icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-bg); color: var(--base-skin); font-size: 22px; }
.iq-info h4 { font-size: 17px !important; margin: 0 0 4px; color: var(--base-dark); }
.iq-info p, .iq-info a { margin: 0; color: var(--text-muted); font-size: 15px; word-break: break-word; }

/* ---------- Stats ---------- */
.iq-stat { text-align: center; }
.iq-stat strong { display: block; font-family: var(--base-headingfont); font-size: 46px; line-height: 1.1; color: var(--base-skin); font-weight: 800; }
.iq-stat span { color: var(--text-muted); font-weight: 600; }
.iq-dark .iq-stat strong { color: #fff; }
.iq-dark .iq-stat span { color: rgba(255, 255, 255, .7); }

/* ---------- Filter pills ---------- */
.iq-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.iq-pills button, .iq-pills a {
  position: static;
  padding: 10px 22px;
  border-radius: 40px;
  border: 1px solid #dfe5ef;
  background: #fff;
  color: var(--base-dark);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: all .2s;
}
.iq-pills :is(button, a):hover, .iq-pills :is(button, a).active { background: var(--base-skin); border-color: var(--base-skin); color: #fff; }

/* ---------- Prose ---------- */
.iq-prose { color: #3d4a5c; font-size: 16px; line-height: 1.85; }
.iq-prose h2 { font-size: 26px !important; margin: 40px 0 14px; color: var(--base-dark); }
.iq-prose h3 { font-size: 20px !important; margin: 28px 0 10px; color: var(--base-dark); }
.iq-prose ul, .iq-prose ol { padding-left: 1.3rem !important; margin-bottom: 18px; }
.iq-prose li { margin-bottom: 6px; }
.iq-prose a { color: var(--base-skin); text-decoration: underline; }

@media (max-width: 1199px) {
  .iq-page-banner { padding: 64px 0 72px; }
  .iq-section { padding: 70px 0; }
  .iq-heading { margin-bottom: 36px; }
  .iq-cta { padding: 44px 32px; border-radius: 24px; }
}
@media (max-width: 767px) {
  .iq-page-banner { padding: 50px 0 60px; }
  .iq-page-banner h1 { font-size: 32px !important; }
  .iq-page-banner p { font-size: 16px; }
  .iq-section { padding: 56px 0; }
  .iq-card { padding: 26px 22px; border-radius: 18px; }
  .iq-card-img { margin: -26px -22px 20px; border-radius: 18px 18px 0 0; }
  .iq-form-card { padding: 26px 20px; border-radius: 20px; }
  .iq-cta { padding: 36px 24px; text-align: center; }
  .iq-price { font-size: 38px; }
}
