/* Native Joomla home page, centered in template resources and kept close to the old PageBuilder composition. */
.regos-home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--white);
}

.regos-home .hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-color: var(--navy);
}

.regos-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 36px;
  align-items: end;
  padding: 96px 0 0;
}

.regos-home .hero-copy {
  align-self: center;
  min-width: 0;
  padding-bottom: 86px;
}

.regos-home .hero-copy h1 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.regos-home .hero-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.55;
  box-shadow: none;
}

.regos-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.regos-home .hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.regos-home .hero-actions .btn-outline:hover,
.regos-home .hero-actions .btn-outline:focus {
  color: var(--navy-deep);
  background: var(--white);
}

.regos-home .hero-image {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(100%, 440px);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.regos-home .hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 430px;
  margin-left: auto;
  object-fit: contain;
}

.home-intro-section,
.home-platform-section,
.home-products-section,
.home-trust-section,
.home-blog-section,
.home-news-section {
  padding: var(--block-padding-y) 0;
}

.home-intro-section {
  padding-top: 72px;
}

.regos-home .home-intro-title {
  max-width: 820px;
}

.regos-home .home-intro-title h2 {
  font-size: 2.35rem;
}

.regos-home .home-intro-title p {
  font-size: 1rem;
  font-weight: 400;
}

.regos-home .home-solution-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.regos-home .home-solution-card .num {
  display: none;
}

.regos-home .home-solution-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.regos-home .home-solution-card__icon {
  display: none;
}

.regos-home .home-solution-card .btn {
  margin-top: 20px;
}

.home-platform-section {
  padding: 76px 0;
  background: linear-gradient(180deg, var(--white) 0%, #F7F9FC 100%);
}

.home-platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  max-width: var(--content-wide);
}

.home-platform-copy {
  min-width: 0;
  padding-top: 10px;
}

.home-platform-eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(149, 17, 17, .18);
  border-radius: var(--pill-radius);
  padding: 8px 14px;
  color: var(--red);
  background: rgba(149, 17, 17, .06);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}

.regos-home .home-platform-title {
  margin-bottom: 24px;
}

.regos-home .home-platform-title h2 {
  margin-bottom: 16px;
  font-size: 2.18rem;
  line-height: 1.22;
}

.regos-home .home-platform-title p {
  max-width: 390px;
  margin-right: 0;
  margin-left: 0;
}

.home-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.home-platform-tags li {
  border: 1px solid rgba(35, 72, 128, .14);
  border-radius: var(--pill-radius);
  padding: 8px 13px;
  color: var(--blue);
  background: var(--white);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.home-platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.home-capability-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  min-width: 0;
  min-height: 178px;
  padding: 22px;
  border: var(--surface-border);
  border-radius: var(--surface-radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-capability-card:hover {
  border-color: rgba(35, 72, 128, .28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-capability-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 18px;
}

.home-capability-card h3 {
  margin-bottom: 9px;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.5;
}

.home-price-section {
  padding: 75px 0;
  color: var(--white);
  background: linear-gradient(135deg, #2d4772 0%, var(--navy) 100%);
}

.home-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 60px;
  align-items: center;
  max-width: var(--content-wide);
}

.home-price-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.25;
}

.home-price-copy p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.55;
}

.home-price-copy .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .06);
}

.home-price-copy .btn-outline:hover,
.home-price-copy .btn-outline:focus {
  color: var(--navy);
  background: var(--white);
}

.home-arrow-link {
  gap: 9px;
}

.home-arrow-link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  line-height: 1;
}

.home-price-media {
  display: grid;
  place-items: center;
}

.home-price-media img {
  width: min(100%, 460px);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .16));
}

.home-trust-section {
  background: var(--gray);
}

.home-blog-section,
.home-news-section {
  background: var(--white);
}

.home-lead-section {
  padding: 64px 0;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.regos-home .lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(380px, 460px);
  gap: 56px;
  align-items: center;
  max-width: var(--content-wide);
}

.regos-home .lead-copy h2 {
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.regos-home .lead-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.regos-home .lead-phone-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 18px 0 22px;
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}

.regos-home .lead-phone-button i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 18px;
  box-shadow: 0 14px 28px rgba(149, 17, 17, .2);
}

.regos-home .lead-phone-button:hover strong,
.regos-home .lead-phone-button:focus strong {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.regos-home .home-lead-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .88);
}

.regos-home .lead-form-shell {
  min-width: 0;
  padding: 26px;
  border: var(--surface-border);
  border-radius: var(--surface-radius);
  color: var(--text);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow);
}

.regos-home .lead-form-shell .mod-custom,
.regos-home .lead-form-shell #message,
.regos-home .lead-form-shell #contact-form,
.regos-home .lead-form-shell .controls {
  margin: 0;
}

.regos-home .lead-form-shell .controls {
  display: grid;
  gap: 14px;
}

.regos-home .lead-form-shell .row {
  margin-right: 0;
  margin-left: 0;
}

.regos-home .lead-form-shell [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.regos-home .lead-form-shell .form-group {
  margin-bottom: 0;
}

.regos-home .lead-form-shell label,
.regos-home .lead-form-shell .b24-lead-form-control-label,
.regos-home .lead-form-shell .form-check-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.regos-home .lead-form-shell input:not([type="checkbox"]):not([type="radio"]),
.regos-home .lead-form-shell textarea,
.regos-home .lead-form-shell select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--field-radius);
  padding: 12px 14px;
  color: var(--text);
  background: #FDFEFE;
  outline: 0;
}

.regos-home .lead-form-shell textarea {
  min-height: 102px;
  resize: vertical;
}

.regos-home .lead-form-shell input:focus,
.regos-home .lead-form-shell textarea:focus,
.regos-home .lead-form-shell select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 72, 128, .14);
}

.regos-home .lead-form-shell .form-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  margin: 2px 0 0;
}

.regos-home .lead-form-shell .form-check-input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--red);
}

.regos-home .lead-form-shell .d-grid {
  display: grid;
}

.regos-home .lead-form-shell .text-center {
  text-align: center;
}

.regos-home .lead-form-shell .btn,
.regos-home .lead-form-shell .btn-danger,
.regos-home .lead-form-shell #button_contacts,
.regos-home .lead-form-shell #button_quiz_contacts,
.regos-home .lead-form-shell #button_callback_contacts {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--control-radius);
  color: var(--white);
  background-color: var(--red) !important;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(149, 17, 17, .14);
}

@media (max-width: 991.98px) {
  .regos-home .hero {
    min-height: 0;
    padding-top: 0;
  }

  .regos-home .hero-inner,
  .home-platform-layout,
  .home-price-grid,
  .regos-home .lead-grid {
    grid-template-columns: 1fr;
  }

  .home-platform-layout {
    gap: 34px;
  }

  .regos-home .home-platform-title p {
    max-width: 720px;
  }

  .regos-home .hero-inner {
    padding: 70px 0 0;
  }

  .regos-home .hero-image {
    justify-self: start;
    width: min(100%, 440px);
  }

  .regos-home .hero-copy {
    padding-bottom: 34px;
  }

  .regos-home .lead-grid {
    gap: 34px;
  }
}

@media (max-width: 767.98px) {
  .regos-home .container {
    width: calc(100% - 32px);
  }

  .regos-home .hero-inner {
    padding: 48px 0 0;
  }

  .regos-home .hero-copy h1 {
    max-width: 320px;
    font-size: 1.82rem;
    line-height: 1.2;
  }

  .regos-home .hero-copy p {
    max-width: 320px;
    font-size: .95rem;
    line-height: 1.55;
  }

  .regos-home .hero-actions {
    display: grid;
    width: min(100%, 320px);
    max-width: 320px;
  }

  .regos-home .hero-image {
    justify-self: center;
    width: min(100%, 320px);
  }

  .regos-home .hero-image img {
    max-width: 320px;
    max-height: 330px;
  }

  .home-price-section,
  .home-platform-section,
  .home-lead-section {
    padding: 52px 0;
  }

  .regos-home .home-intro-title h2 {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.82rem;
    line-height: 1.25;
  }

  .regos-home .home-intro-title p {
    max-width: 320px;
  }

  .home-price-copy h2,
  .regos-home .home-platform-title h2,
  .regos-home .lead-copy h2 {
    font-size: 1.82rem;
  }

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

  .home-capability-card {
    min-height: 0;
    padding: 20px;
  }

  .home-platform-actions {
    display: grid;
    width: 100%;
  }

  .regos-home .home-solution-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .regos-home .lead-phone-button {
    align-items: flex-start;
    font-size: 1.2rem;
  }

  .regos-home .lead-form-shell {
    padding: 22px;
  }

}
