/* Page-scoped redesign for /sliding-door-track-repair/ ONLY - approval trial.
   New classes (rsdr-hero-v2 / rsdr-features-v2) so nothing here touches the
   shared hero.css used by the other 588 pages. */

:root {
  --hv2-orange: #fe5700;
  --hv2-dark: #1e2325;
  --hv2-dark-2: #232a2d;
}

.rsdr-hero-v2 {
  position: relative;
  background-image: var(--hv2-hero-img);
  background-size: cover;
  background-position: 30% 12%;
  background-repeat: no-repeat;
  padding: 72px 0 64px;
  overflow: hidden;
}
@media (max-width: 820px) {
  .rsdr-hero-v2 { background-image: var(--hv2-hero-img-m, var(--hv2-hero-img)); }
}
.rsdr-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,12,.93) 0%, rgba(8,10,12,.86) 30%, rgba(8,10,12,.55) 52%, rgba(8,10,12,.18) 68%, rgba(8,10,12,0) 82%);
  pointer-events: none;
}
.rsdr-hero-v2__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.rsdr-hero-v2__copy { padding-top: 28px; }

.rsdr-hero-v2__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hv2-orange);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.rsdr-hero-v2__eyebrow .rsdr-hero-v2__dash {
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--hv2-orange);
  border-radius: 2px;
}

.rsdr-hero-v2__title {
  margin: 0 0 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  color: #fff;
  text-align: left;
}
.rsdr-hero-v2__title span { color: var(--hv2-orange); }

.rsdr-hero-v2__subtitle {
  max-width: 480px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.55;
}

.rsdr-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.rsdr-hero-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.rsdr-hero-v2__btn svg { width: 18px; height: 18px; flex: none; }
.rsdr-hero-v2__btn--primary {
  background: var(--hv2-orange);
  color: #fff;
}
.rsdr-hero-v2__btn--primary:hover,
.rsdr-hero-v2__btn--primary:focus,
.rsdr-hero-v2__btn--primary:active,
.rsdr-hero-v2__btn--primary:visited { background: #e64f00; color: #fff; transform: translateY(-1px); }
.rsdr-hero-v2__btn--outline {
  background: rgba(30,35,37,.55);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
.rsdr-hero-v2__btn--outline:hover,
.rsdr-hero-v2__btn--outline:focus,
.rsdr-hero-v2__btn--outline:active,
.rsdr-hero-v2__btn--outline:visited { background: rgba(30,35,37,.8); color: #fff; transform: translateY(-1px); }

.rsdr-hero-v2__reviews {
  background: rgba(30,35,37,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 18px 22px;
  display: inline-block;
  max-width: 100%;
}
.rsdr-hero-v2__review-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.rsdr-hero-v2__review-item { display: flex; align-items: center; gap: 12px; }
.rsdr-hero-v2__review-logo { height: 26px !important; width: 26px !important; display: block; }
.rsdr-hero-v2__stars { color: var(--hv2-orange); font-size: 14px; line-height: 1; letter-spacing: 2px; }
.rsdr-hero-v2__review-count { color: rgba(255,255,255,.75); font-size: 13px; margin-top: 3px; }
.rsdr-hero-v2__review-divider { width: 1px; height: 34px; background: rgba(255,255,255,.2); }
.rsdr-hero-v2__review-banner {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.rsdr-hero-v2__review-banner strong { color: var(--hv2-orange); font-weight: 800; }

/* --- the form card --- */
/* Frosted-glass card: translucent white so the hero photo reads through it,
   per Adir's ask - smaller footprint, ~88% opacity, blurred backdrop. */
.rsdr-hero-v2__card {
  max-width: 380px;
  margin-left: auto;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.rsdr-hero-v2__card-eyebrow {
  margin: 0 0 6px;
  color: var(--hv2-orange);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.rsdr-hero-v2__card-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--hv2-dark);
  line-height: 1.15;
}
.rsdr-hero-v2__card-sub {
  margin: 0 0 14px;
  color: #6b6560;
  font-size: 12.5px;
  line-height: 1.4;
}
.rsdr-hero-v2__card-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #6b6560;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.rsdr-hero-v2__card-note svg { width: 13px; height: 13px; color: var(--hv2-orange); }

.rsdr-hero-v2__card .sdform-container { padding: 0; }
.rsdr-hero-v2__card .sdform-field { margin-bottom: 9px; }
.rsdr-hero-v2__card .sdform-field textarea { min-height: 64px; }
.rsdr-hero-v2__card .sdform-field input,
.rsdr-hero-v2__card .sdform-field textarea {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255,255,255,.75);
  border: 1px solid rgba(228,223,218,.9);
  border-radius: 7px;
  padding: 10px 14px 10px 38px;
  font-size: 13px;
  background-repeat: no-repeat;
  background-position: 13px center;
  background-size: 16px 16px;
}
.rsdr-hero-v2__card .sdform-field textarea { padding-top: 10px; background-position: 13px 12px; }
.rsdr-hero-v2__card .sdform-field-name input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a938c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.rsdr-hero-v2__card .sdform-field-text input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a938c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.rsdr-hero-v2__card .sdform-field-email input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a938c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
}
.rsdr-hero-v2__card .sdform-field-textarea textarea {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a938c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
.rsdr-hero-v2__card .sdform-submit {
  width: 100%;
  background: var(--hv2-orange) !important;
  border: none;
  border-radius: 7px;
  padding: 12px !important;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
}
.rsdr-hero-v2__card .sdform-submit:hover { background: #e64f00 !important; }

/* --- feature strip below the hero --- */
.rsdr-features-v2 {
  background: #fff;
  border-bottom: 1px solid #ece6e1;
}
.rsdr-features-v2__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.rsdr-features-v2__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 22px;
  border-left: 1px solid #ece6e1;
}
.rsdr-features-v2__item:first-child { border-left: none; padding-left: 0; }
.rsdr-features-v2__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fdece0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rsdr-features-v2__icon svg { width: 20px; height: 20px; color: var(--hv2-orange); }
.rsdr-features-v2__item h5 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--hv2-dark);
}
.rsdr-features-v2__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #7a746e;
}

@media (max-width: 1024px) {
  .rsdr-hero-v2__inner { grid-template-columns: 1fr; }
  .rsdr-hero-v2__title { font-size: 46px; }
  .rsdr-hero-v2__card { max-width: 460px; margin-left: 0; }
  .rsdr-features-v2__inner { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .rsdr-features-v2__item:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 640px) {
  .rsdr-hero-v2 { padding: 44px 0 40px; }
  .rsdr-hero-v2::before { background: linear-gradient(180deg, rgba(6,8,10,.88) 0%, rgba(6,8,10,.8) 60%, rgba(6,8,10,.72) 100%); }
  .rsdr-hero-v2__inner { padding: 0 20px; }
  .rsdr-hero-v2__title { font-size: 36px; }
  .rsdr-hero-v2__actions { flex-direction: column; align-items: stretch; }
  .rsdr-hero-v2__review-row { flex-wrap: wrap; row-gap: 12px; }
  .rsdr-hero-v2__card { padding: 20px 18px 16px; max-width: none; }
  .rsdr-features-v2__inner { grid-template-columns: 1fr; padding: 28px 20px; }
  .rsdr-features-v2__item { border-left: none !important; padding-left: 0 !important; }
}
