
/* ═══════════════════════════════════
   BLOCK RESET
   ═══════════════════════════════════ */
.rr-hero,
.rr-hero * { 
  box-sizing: border-box; 
}
.rr-hero input,
.rr-hero textarea,
.rr-hero select { 
  font: inherit; 
}

/* ═══════════════════════════════════
   DESIGN TOKENS (улучшенные)
   ═══════════════════════════════════ */
.rr-hero {
  --bg:          #F6EEE9;
  --surface:     #FFFFFF;
  --inverse:     #2B3C46;
  --text:        #2B3C46;
  --text-sec:    rgba(43, 60, 70, 0.65);
  --accent:      #BE8A77;
  --accent-h:    #A0705E;
  --accent-t:    rgba(190, 138, 119, 0.15);
  --accent-glow: rgba(190, 138, 119, 0.4);
  --shadow-card: 0 8px 30px rgba(43, 60, 70, 0.08);
  --shadow-hov:  0 20px 50px rgba(43, 60, 70, 0.15);
  --shadow-btn:  0 8px 24px rgba(190, 138, 119, 0.3);
  --r-sm:        12px;
  --r-md:        16px;
  --r-lg:        24px;
  
  /* Fluid typography */
  --fs-title-min: 44px;
  --fs-title-max: 76px;
}

/* ═══════════════════════════════════
   ROOT LAYOUT — split screen
   ═══════════════════════════════════ */
.rr-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 100vh;
  background: var(--bg);
  font-family: var(--t-text-font, 'Inter', sans-serif);
  color: var(--text);
  overflow: hidden;
}

/* ═══════════════════════════════════
   MEDIA COLUMN
   ═══════════════════════════════════ */
.rr-hero__media {
  position: relative;
  overflow: hidden;
  background: var(--inverse);
}

.rr-hero__slides-wrapper {
  position: absolute;
  inset: 0;
}

.rr-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.rr-hero__slide--active { 
  opacity: 1; 
  transform: scale(1);
}

.rr-hero__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(43, 60, 70, 0.82) 0%,
    rgba(43, 60, 70, 0.35) 50%,
    rgba(43, 60, 70, 0.65) 100%
  );
  z-index: 1;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 1s ease;
}

/* Content over photo */
.rr-hero__media-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 60px);
  color: #fff;
}

/* ── Eyebrow ── */
.rr-hero__eyebrow {
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  opacity: 0;
  animation: rr-up 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ── Title ── */
.rr-hero__title {
  font-family: var(--t-headline-font, 'Playfair Display', serif);
  font-size: clamp(var(--fs-title-min), 5vw, var(--fs-title-max));
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 32px;
  opacity: 0;
  animation: rr-up 1s 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.rr-hero__title-sub {
  display: block;
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
  opacity: 0.9;
}

/* ── Lead ── */
.rr-hero__lead {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin: 0 0 48px;
  max-width: 480px;
  opacity: 0;
  animation: rr-up 0.9s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  font-weight: 400;
}

/* ── УТП горизонтальный ── */
.rr-hero__utp {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  opacity: 0;
  animation: rr-up 0.9s 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rr-hero__utp-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.rr-hero__utp-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
  flex-shrink: 0;
  margin: 0 24px;
}

.rr-hero__utp-num {
  font-family: var(--t-headline-font, 'Playfair Display', serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(190, 138, 119, 0.3);
}

.rr-hero__utp-label {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ── Слайдер-навигация ── */
.rr-hero__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: rr-up 0.8s 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rr-hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.rr-hero__location:hover {
  color: rgba(255,255,255,0.6);
}

.rr-hero__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.rr-hero__dot {
  height: 3px;
  width: 24px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.rr-hero__dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rr-hero__dot--on {
  width: 40px;
  background: rgba(255,255,255,0.3);
}

.rr-hero__dot--on::after {
  transform: scaleX(1);
}

.rr-hero__dot:hover:not(.rr-hero__dot--on) {
  background: rgba(255,255,255,0.5);
  transform: scaleY(1.5);
}

.rr-hero__counter {
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  display: flex;
  gap: 4px;
  white-space: nowrap;
  font-weight: 500;
}

.rr-hero__counter-cur {
  color: var(--accent);
  font-weight: 700;
}

/* ═══════════════════════════════════
   RIGHT PANEL
   ═══════════════════════════════════ */
.rr-hero__panel {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(24px, 3vw, 48px);
  opacity: 0;
  animation: rr-left 1s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rr-hero__panel-inner {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.rr-hero__panel-inner:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-4px);
}

/* ── Card head ── */
.rr-hero__card-head {
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, var(--inverse), #344955);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.rr-hero__card-head::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(190,138,119,0.1) 0%, transparent 70%);
  animation: card-shimmer 8s ease-in-out infinite;
}

.rr-hero__card-label {
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  position: relative;
  z-index: 1;
}

.rr-hero__card-price {
  font-family: var(--t-headline-font, 'Playfair Display', serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.rr-hero__card-price strong {
  font-weight: 800;
  color: var(--accent);
}

.rr-hero__card-caption {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── Form ── */
.rr-hero__form {
  padding: clamp(24px, 3vw, 36px);
  font-family: var(--t-text-font, 'Inter', sans-serif);
}

.rr-hero__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.rr-hero__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rr-hero__label {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sec);
}

.rr-hero__input {
  width: 100%;
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 15px;
  padding: 14px 18px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
  appearance: none;
}

.rr-hero__input::placeholder {
  color: rgba(43, 60, 70, 0.3);
  transition: color 0.3s ease;
}

.rr-hero__input:hover {
  border-color: rgba(190, 138, 119, 0.3);
  background: rgba(246, 238, 233, 0.8);
}

.rr-hero__input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-t);
}

.rr-hero__input:focus::placeholder {
  color: rgba(43, 60, 70, 0.15);
}

.rr-hero__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23BE8A77' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
  cursor: pointer;
}

.rr-hero__select option {
  background: #fff;
  color: var(--text);
  padding: 8px;
}

.rr-hero__field .t-input-error {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 12px;
  color: #c0614a;
  min-height: 16px;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

/* Success */
.rr-hero__success {
  text-align: center;
  padding: 48px 24px;
  color: var(--text);
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.7;
}

.rr-hero__success svg {
  display: block;
  margin: 0 auto 20px;
  color: var(--accent);
  animation: successPulse 2s ease-in-out infinite;
}

.rr-hero__success-title {
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

/* Form footer */
.rr-hero__form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CTA button */
.rr-hero__btn {
  width: 100%;
  justify-content: center;
  background: var(--accent) !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  border-radius: var(--r-md) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-btn) !important;
}

.rr-hero__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.rr-hero__btn:hover {
  background: var(--accent-h) !important;
  box-shadow: 0 12px 32px rgba(190, 138, 119, 0.5) !important;
  transform: translateY(-2px);
}

.rr-hero__btn:active::before {
  width: 300px;
  height: 300px;
}

.rr-hero__btn:active {
  transform: translateY(0);
}

.rr-hero__btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.rr-hero__btn .t-btnflex__text {
  font-family: var(--t-headline-font, 'Montserrat', sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.rr-hero__btn-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rr-hero__btn--loading .t-btnflex__text {
  opacity: 0;
}

.rr-hero__btn--loading .rr-hero__btn-loader {
  display: block;
  animation: spin 0.8s linear infinite;
}

.rr-hero__privacy {
  font-family: var(--t-text-font, 'Inter', sans-serif);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sec);
  text-align: center;
  margin: 0;
  opacity: 0.7;
}

.rr-hero__privacy-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.rr-hero__privacy-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

/* ═══════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════ */
@keyframes rr-up {
  from { 
    opacity: 0; 
    transform: translateY(24px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes rr-left {
  from { 
    opacity: 0; 
    transform: translateX(32px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@