/* Контейнер і сітка */


* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--rgb-text);
  background: #fff
}

.rgb-container {
  width: min(1241px, 92vw);
  margin: 0 auto;
}


.rgb-hero {
  background: var(--rgb-mint);
  padding: 48px 0;
}

.rgb-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}



.rgb-hero__title {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.rgb-bubbles {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.rgb-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e5edf6;
  display: inline-block
}


.rgb-form-card {
  width: 400px;
  background: #FFFFFF;
  border: 1px solid #E7E2F4;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.rgb-form-card__title {
  margin: 0;
  font-family: "Inter Tight", system-ui;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.19;
  text-align: center;
  color: #212227;
}


.rgb-cta {
  background: #fff;
  padding: 0
}

.rgb-cta .rgb-field {
  margin-bottom: 14px
}

.rgb-cta label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px
}

.rgb-cta input[type="text"],
.rgb-cta input[type="tel"],
.rgb-cta input[type="email"],
.rgb-cta textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #8A8E91;
  border-radius: 10px;
  background: #fff;
  
}

.rgb-cta textarea {
  min-height: 110px;
  resize: vertical
}




.rgb-cta input[type="submit"][disabled] {
  opacity: .6;
  cursor: not-allowed
}

.rgb-cta .rgb-spinner {
  display: inline-block
}

.rgb-cta .rgb-error {
  display: block;
  color: #C42C17;
  font-size: 13px;
  margin-top: 6px;
  min-height: 16px
}


.rgb-cta .wpcf7-not-valid {
  border-color: #C42C17 !important;
  
}




.rgb-hero {
  position: relative;
  background: #EBF5EF;
  border-radius: 16px;
  padding: 90px;
  isolation: isolate;
  overflow: hidden;
}


.rgb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 52px;
  align-items: center;
 
}


.rgb-hero__left {
  position: relative;
  isolation: isolate;
  min-height: 609px;
  display: flex;
  align-items: center;
}

.rgb-hero__title {
  font-family: "Inter Tight", system-ui;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  color: #212227;
  max-width: 610px;
  margin: 0;
  position: relative;
  z-index: 3;
}


.rgb-bubbles {
  --s-left: 50px;
  --s-top: -205px;
  --s-w: 701px;
  --s-h: 1286px;

  position: absolute;
  inset: 0;
  z-index: 1;
}

.rgb-bubbles::before {
  content: "";
  position: absolute;
  left: var(--s-left);
  top: var(--s-top);
  width: var(--s-w);
  height: var(--s-h);
  background: no-repeat 0 0 / contain url('<?php echo get_stylesheet_directory_uri(); ?>/assets/img/s.png');
}


.rgb-bubbles .face {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  z-index: 4;
}


.rgb-bubbles .face--lg {
  width: 114px;
  height: 114px;
  left: 62px;
  top: -4px;
}


.rgb-bubbles .face--sm {
  width: 86.57px;
  height: 86.57px;
  left: 520px;
  top: 124px;
  
}
.rgb-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: #C42C17;
}


.wpcf7-not-valid {
  border-color: #C42C17 !important;
  
}

.rgb-actions {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 61px;
  margin-top: 16px;
}

#rgb_submit {
  display: block;
  width: 100%;
  height: 61px;
  padding: 20px 40px;
  border-radius: 8px;
  border: 1px solid #F2512E;
  background: #F2512E;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow:
    0 10px 20px rgba(242, 81, 46, .18),
    0 2px 6px rgba(12, 16, 24, .04);
}


#rgb_submit:hover {
  background: #E64826;
  border-color: #E64826;
}

#rgb_submit:active {
  transform: translateY(1px);
}


#rgb_submit:focus-visible {
  outline: 2px solid rgba(242, 81, 46, .35);
  outline-offset: 2px;
}


.rgb-actions p {
  margin: 0 !important;
}

.rgb-actions br {
  display: none !important;
}


.wpcf7-spinner {
  display: none !important;
}


#rgb_submit {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px 40px;
  border-radius: 8px;
  border: 1px solid #F2512E;
  background: #F2512E;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 10px 20px rgba(242, 81, 46, .18), 0 2px 6px rgba(12, 16, 24, .04);
}

#rgb_submit:hover {
  background: #E64826;
  border-color: #E64826;
}

#rgb_submit:active {
  transform: translateY(1px);
}

#rgb_submit:focus-visible {
  outline: 2px solid rgba(242, 81, 46, .35);
  outline-offset: 2px;
}

#rgb_submit[disabled] {
  opacity: .7;
  cursor: not-allowed;
  filter: saturate(.9);
}


#rgb_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}


.rgb-actions .rgb-spinner {
  position: absolute;
  left: 105px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E8FB87;
  border: 0;
  pointer-events: none;
  z-index: 2;
}


.rgb-actions .rgb-spinner.is-active {
  background: transparent;
  border: 2px solid rgba(232, 251, 135, .4);
  border-top-color: #E8FB87;
  animation: rgbspin 1s linear infinite;
  will-change: transform;
}

@keyframes rgbspin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.rgb-policy {
  margin-top: 16px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: #27252F;
  text-align: center;
}


.rgb-policy__link {
  color: #27252F;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
}

