.rg-quote-section,
.rg-case-main {
  box-sizing: border-box;
  color: #111827;
}

.site-header .site-branding .custom-logo-link,
.site-header .ast-site-identity .custom-logo-link {
  width: auto !important;
  height: auto !important;
  background-image: none !important;
}

.site-header .site-branding .custom-logo-link img.custom-logo,
.site-header .ast-site-identity .custom-logo-link img.custom-logo {
  display: block !important;
  width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
  opacity: 1 !important;
  filter: brightness(0) invert(1) !important;
}

body .site-header .site-branding .custom-logo-link img.custom-logo,
body .site-header .ast-site-identity .custom-logo-link img.custom-logo {
  -webkit-filter: brightness(0) invert(1) !important;
  filter: brightness(0) invert(1) !important;
}

.rg-quote-section *,
.rg-case-main * {
  box-sizing: border-box;
}

.rg-quote-section {
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto;
  padding: 38px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.rg-quote-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.rg-quote-heading h2,
.rg-case-main h1,
.rg-case-main h2 {
  margin: 0;
  color: #080c12;
  letter-spacing: 0;
}

.rg-quote-heading h2 {
  font-size: 44px;
  line-height: 1.1;
}

.rg-quote-heading > p:last-child,
.rg-case-hero > p:last-child {
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.65;
}

.rg-quote-kicker {
  margin: 0 0 10px;
  color: #a52218;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rg-quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rg-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rg-field,
.rg-field-wide {
  min-width: 0;
}

.rg-field-wide {
  grid-column: 1 / -1;
}

.rg-field label {
  display: block;
  margin-bottom: 7px;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
}

.rg-field label span {
  color: #b42318;
}

.rg-field label small {
  color: #667085;
  font-weight: 500;
}

.rg-field input,
.rg-field select,
.rg-field textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #aeb8c5;
  border-radius: 5px;
  background: #fff;
  color: #101828;
  font: inherit;
}

.rg-field textarea {
  min-height: 112px;
  resize: vertical;
}

.rg-field input:focus,
.rg-field select:focus,
.rg-field textarea:focus {
  border-color: #16753b;
  outline: 3px solid rgba(37, 211, 102, 0.18);
}

.rg-field > small {
  display: block;
  margin-top: 7px;
  color: #667085;
  line-height: 1.45;
}

.rg-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.rg-form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 5px;
  line-height: 1.5;
}

.rg-form-status.is-visible {
  display: block;
}

.rg-form-status.is-error {
  border: 1px solid #f0b4ae;
  background: #fff1f0;
  color: #8a1c13;
}

.rg-form-status.is-success {
  border: 1px solid #9dd8b4;
  background: #effaf3;
  color: #116330;
}

.rg-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rg-form-actions button,
.rg-form-actions a,
.rg-hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.rg-form-actions button,
.rg-hero-primary {
  background: #0d6935;
  color: #fff;
}

.rg-form-actions button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.rg-form-actions a,
.rg-hero-secondary {
  border: 1px solid #0d6935;
  background: #fff;
  color: #0d6935;
}

.rg-home-value {
  max-width: 760px;
  margin: 16px auto 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
}

.rg-whatsapp-secondary {
  margin-left: 12px;
  border: 1px solid #25d366 !important;
  background: transparent !important;
  color: #fff !important;
}

@media (min-width: 1025px) {
  body.home .elementor-element-2cb5f4f > .e-con-inner {
    padding-top: 150px !important;
    padding-bottom: 155px !important;
  }
}

.rg-case-main {
  background: #fff;
}

.rg-case-hero,
.rg-case-grid,
.rg-case-pending,
.rg-single-case {
  width: min(1120px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.rg-case-hero {
  padding: 72px 0 48px;
}

.rg-case-hero h1,
.rg-single-case h1 {
  max-width: 850px;
  font-size: 58px;
  line-height: 1.03;
}

.rg-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding-bottom: 40px;
}

.rg-case-card {
  overflow: hidden;
  border: 1px solid #dbe1e8;
  border-radius: 8px;
  background: #fff;
}

.rg-case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rg-case-card > div {
  padding: 22px;
}

.rg-case-card h2 {
  font-size: 25px;
  line-height: 1.2;
}

.rg-case-card h2 a {
  color: inherit;
  text-decoration: none;
}

.rg-case-card p,
.rg-case-pending p,
.rg-case-content {
  color: #4b5563;
  line-height: 1.7;
}

.rg-case-pending {
  margin-bottom: 42px;
  padding: 28px;
  border-left: 4px solid #a52218;
  background: #f4f6f8;
}

.rg-single-case {
  padding: 72px 0 44px;
}

.rg-case-featured {
  display: block;
  width: 100%;
  max-height: 720px;
  margin: 34px 0;
  border-radius: 8px;
  object-fit: cover;
}

.rg-case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0;
  border-top: 1px solid #d8dee6;
}

.rg-case-facts > div {
  padding: 18px 16px;
  border-right: 1px solid #d8dee6;
  border-bottom: 1px solid #d8dee6;
  border-left: 1px solid #d8dee6;
}

.rg-case-facts dt {
  margin-bottom: 6px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rg-case-facts dd {
  margin: 0;
  color: #111827;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .site-header .site-branding .custom-logo-link img.custom-logo,
  .site-header .ast-site-identity .custom-logo-link img.custom-logo {
    width: 190px !important;
    max-width: 190px !important;
  }

  body.home h1.elementor-heading-title {
    font-size: 40px !important;
    line-height: 1.08 !important;
  }

  .rg-home-value {
    margin: 14px auto 20px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  body.home .rg-hero-primary,
  body.home .rg-whatsapp-secondary {
    display: flex !important;
    width: calc(100% - 28px) !important;
    max-width: 360px;
    min-height: 48px;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 12px 18px !important;
  }

  body.home .rg-whatsapp-secondary {
    margin-top: 10px !important;
  }

  .rg-quote-heading h2 {
    font-size: 30px;
  }

  .rg-case-hero h1,
  .rg-single-case h1 {
    font-size: 38px;
  }

  .rg-quote-section,
  .rg-case-hero,
  .rg-case-grid,
  .rg-case-pending,
  .rg-single-case {
    width: min(100% - 28px, 1120px);
  }

  .rg-quote-section {
    margin: 40px auto;
    padding: 24px 18px;
  }

  .rg-quote-form,
  .rg-case-facts {
    grid-template-columns: 1fr;
  }

  .rg-field-wide {
    grid-column: auto;
  }

  .rg-form-status {
    grid-column: auto;
  }

  .rg-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rg-form-actions button,
  .rg-form-actions a {
    width: 100%;
  }

  .rg-whatsapp-secondary {
    display: flex !important;
    margin: 10px 0 0;
  }
}

.rg-seo-main,
.rg-seo-main * {
  box-sizing: border-box;
}

.rg-seo-main {
  overflow: hidden;
  background: #ffffff;
  color: #172033;
}

.rg-seo-hero {
  position: relative;
  display: flex;
  height: clamp(470px, 68vh, 650px);
  min-height: 470px;
  align-items: flex-end;
  overflow: hidden;
  background: #111827;
}

.rg-seo-hero-media,
.rg-seo-hero-overlay {
  position: absolute;
  inset: 0;
}

.rg-seo-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rg-seo-hero-overlay {
  background: rgba(4, 10, 18, 0.7);
}

.rg-seo-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
  color: #ffffff;
}

.rg-seo-kicker {
  margin: 0 0 12px;
  color: #c83225;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rg-seo-hero .rg-seo-kicker,
.rg-seo-final-cta .rg-seo-kicker {
  color: #ff8d82;
}

.rg-seo-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.rg-seo-hero-inner > p:not(.rg-seo-kicker) {
  max-width: 780px;
  margin: 22px 0 0;
  color: #eef2f6;
  font-size: 19px;
  line-height: 1.65;
}

.rg-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rg-seo-actions a,
.rg-seo-inline-cta > a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.rg-seo-primary,
.rg-seo-inline-cta > a {
  border: 1px solid #157347;
  background: #157347;
  color: #ffffff;
}

.rg-seo-secondary {
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.rg-seo-section {
  padding: 76px 0;
}

.rg-seo-section-muted {
  background: #f3f5f7;
}

.rg-seo-section-inner,
.rg-seo-reading {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.rg-seo-reading {
  max-width: 820px;
}

.rg-seo-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.rg-seo-section h2,
.rg-seo-inline-cta h2,
.rg-seo-final-cta h2 {
  margin: 0;
  color: #0b1220;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.rg-seo-section-heading > p:last-child,
.rg-seo-reading p,
.rg-seo-reading li {
  color: #465160;
  font-size: 17px;
  line-height: 1.78;
}

.rg-seo-section-heading > p:last-child {
  margin: 14px 0 0;
}

.rg-seo-reading p {
  margin: 20px 0 0;
}

.rg-seo-reading ul {
  margin: 24px 0 0;
  padding-left: 22px;
}

.rg-seo-reading li + li {
  margin-top: 9px;
}

.rg-seo-specs {
  border-bottom: 1px solid #dde2e8;
}

.rg-seo-table-wrap {
  overflow-x: auto;
  border-top: 3px solid #c83225;
}

.rg-seo-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

.rg-seo-table-wrap th,
.rg-seo-table-wrap td {
  padding: 17px 18px;
  border-right: 1px solid #dde2e8;
  border-bottom: 1px solid #dde2e8;
  border-left: 1px solid #dde2e8;
  text-align: left;
  vertical-align: top;
}

.rg-seo-table-wrap th {
  width: 28%;
  color: #192334;
  font-size: 14px;
}

.rg-seo-table-wrap td {
  color: #465160;
  font-size: 15px;
  line-height: 1.55;
}

.rg-seo-inline-cta {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #d9dfe6;
  border-bottom: 1px solid #d9dfe6;
}

.rg-seo-inline-cta h2 {
  font-size: 28px;
}

.rg-seo-inline-cta p {
  margin: 8px 0 0;
  color: #586373;
  line-height: 1.6;
}

.rg-seo-inline-cta > a {
  flex: 0 0 auto;
}

.rg-seo-visuals {
  background: #111827;
}

.rg-seo-visuals .rg-seo-section-heading h2 {
  color: #ffffff;
}

.rg-seo-visuals .rg-seo-section-heading > p:last-child {
  color: #cbd3dd;
}

.rg-seo-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rg-seo-visual-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #344154;
  border-radius: 6px;
  background: #182231;
}

.rg-seo-visual-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rg-seo-visual-grid figcaption {
  padding: 15px 16px;
  color: #cbd3dd;
  font-size: 13px;
  line-height: 1.55;
}

.rg-seo-faq-list {
  max-width: 900px;
  border-top: 1px solid #d9dfe6;
}

.rg-seo-faq details {
  border-bottom: 1px solid #d9dfe6;
}

.rg-seo-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: #111827;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
}

.rg-seo-faq summary::after {
  position: absolute;
  top: 17px;
  right: 2px;
  content: "+";
  color: #c83225;
  font-size: 26px;
  line-height: 1;
}

.rg-seo-faq details[open] summary::after {
  content: "-";
}

.rg-seo-faq details p {
  max-width: 780px;
  margin: 0;
  padding: 0 40px 22px 0;
  color: #4e5968;
  font-size: 16px;
  line-height: 1.7;
}

.rg-seo-related {
  background: #f3f5f7;
}

.rg-seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rg-seo-related-grid a {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.rg-seo-related-grid strong {
  color: #c83225;
  font-size: 24px;
}

.rg-seo-final-cta {
  padding: 82px 24px;
  background: #172033;
  text-align: center;
}

.rg-seo-final-cta > div {
  max-width: 780px;
  margin: 0 auto;
}

.rg-seo-final-cta h2 {
  color: #ffffff;
  font-size: 44px;
}

.rg-seo-final-cta > div > p:not(.rg-seo-kicker) {
  margin: 18px 0 0;
  color: #d5dce5;
  font-size: 18px;
  line-height: 1.65;
}

.rg-seo-final-cta .rg-seo-actions {
  justify-content: center;
}

.rg-seo-primary:hover,
.rg-seo-inline-cta > a:hover {
  border-color: #0f5b37;
  background: #0f5b37;
  color: #ffffff;
}

.rg-seo-secondary:hover {
  background: #ffffff;
  color: #172033;
}

.rg-seo-related-grid a:hover {
  border-color: #c83225;
  color: #172033;
}

@media (max-width: 800px) {
  .rg-seo-hero {
    height: 560px;
    min-height: 560px;
  }

  .rg-seo-hero-inner,
  .rg-seo-section-inner,
  .rg-seo-reading,
  .rg-seo-inline-cta {
    width: min(100% - 32px, 1120px);
  }

  .rg-seo-hero-inner {
    padding: 52px 0;
  }

  .rg-seo-hero h1 {
    font-size: 42px;
  }

  .rg-seo-hero-inner > p:not(.rg-seo-kicker) {
    font-size: 17px;
  }

  .rg-seo-section {
    padding: 56px 0;
  }

  .rg-seo-section h2,
  .rg-seo-final-cta h2 {
    font-size: 32px;
  }

  .rg-seo-inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .rg-seo-inline-cta > a {
    align-self: flex-start;
  }

  .rg-seo-visual-grid,
  .rg-seo-related-grid {
    grid-template-columns: 1fr;
  }

  .rg-seo-visual-grid img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .rg-seo-hero {
    height: auto;
    min-height: 0;
    align-items: stretch;
  }

  .rg-seo-hero-inner {
    padding: 56px 0 44px;
  }

  .rg-seo-hero h1 {
    font-size: 36px;
  }

  .rg-seo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rg-seo-actions a {
    width: calc(100% - 64px);
    padding: 12px 16px;
    text-align: center;
  }

  .ast-custom-button-link[aria-label="WhatsApp"] {
    right: 14px !important;
    bottom: 18px !important;
  }

  .rg-seo-table-wrap {
    margin-right: -16px;
  }

  .rg-seo-final-cta {
    padding: 62px 16px;
  }
}
