*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:  #F97316;
  --orange-dark: #EA6A0A;
  --green:   #22C55E;
  --amber:   #F59E0B;
  --blue:    #3B82F6;
  --navy:    #0F172A;
  --navy-mid: #1E293B;
  --white:   #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100:#F1F5F9;
  --gray-600:#475569;
  --gray-800:#1E293B;
  --font: 'Open Sans', sans-serif;
  --glass-bg: rgba(15,23,42,0.65);
  --glass-border: rgba(255,255,255,0.15);
  --glass-blur: blur(16px);
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: fixed;
  overflow: hidden;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 90px;
  max-height: 90px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(36,46,69,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  transition: background 0.3s;
}
.header-inner {
  max-width: 1100px;
  padding: 0 24px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header-cta {
  display: none;
  text-align: right;
}
.header-cta-main {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.header-cta-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 600;
}
@media (min-width: 768px) {
  .header-cta { display: block; }
  .brand-name { font-size: 1.1rem; }
}

.site-header .header_ad {
  height: 100px;
  max-height: 100px;
  width: 100%;

  position: absolute;
  top: -200px;
  background-color: #FFF;

  z-index: 100;

  text-align: center;
  transition: top 0.5s ease-in-out;
}

.ad-container {
  width: 100%;
  text-align: center;
  margin: 20px auto; /* Normal inline positioning */
  transition: bottom 0.5s ease-in-out; /* Smooth slide-up animation */
  /*visibility: hidden;*/
}

/* After 5 seconds, this class will turn the ad into an anchor ad */
.anchor-ad {
  position: fixed;
  bottom: -100px; /* Starts off-screen */
  left: 0;
  width: 100%;
  background-color: #fff; /* Optional background */
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Keep it above other elements */
  padding: 10px;
  margin: 20px 0 0 0;
  /*visibility: visible;*/
}

/* Close button */
.close-ad {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .site-header .header_ad {
    height: 93px;
    max-height: 93px;
  }
}

.header_reponsive {
  width: 300px;
  height: 100px;
  margin: 0px auto;
}

@media screen and (min-width: 500px) {
  .header_reponsive {
    width: 468px;
    height: 60px;
  }
}

@media screen and (min-width: 800px) {
  .header_reponsive {
    width: 728px;
    height: 90px;
  }
}

/* ─── HERO ────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url(../images/bg.jpg) center/cover no-repeat;
  padding: 110px 20px 60px;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(42, 99, 236, 0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  text-align: center;
}
@media (min-width: 768px) {
  #hero { padding-top: 140px; }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: fadeDown 0.7s ease both;
}

.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  animation: fadeDown 0.7s 0.1s ease both;
  margin-top: 10px;
}

.search-card .hero-h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-h1 span { color: var(--amber); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 25px;
  font-weight: 400;
  animation: fadeDown 0.7s 0.2s ease both;
}

.step-card .hero-sub {
  color: rgba(255,255,255,1);
  text-align: left;
}

.fancybox-skin {
  background-color: transparent;
}

/* Glass form card */
.search-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.8s 0.3s ease both;
}
.search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  text-align: center;
}
@media (min-width: 540px) {
  .search-label { text-align: left; }
}
.search-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.search-input {
  flex: 1;
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.search-input::placeholder { color: #94a3b8; }
.search-btn {
  height: 56px;
  padding: 0 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  width: 100%;
}
.search-btn:hover { background: var(--orange-dark); }
.search-btn:active { transform: scale(0.98); }

@media (min-width: 540px) {
  .search-row {
    flex-direction: row;
    gap: 0;
  }
  .search-input {
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    width: auto;
  }

  .search-btn {
    border-radius: var(--radius-md);
    width: auto;
  }

  #search-form .search-btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;

  }
}
.search-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: left;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  animation: fadeUp 0.8s 0.45s ease both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 600;
}
.trust-item svg { flex-shrink: 0; }

/* ─── PROPERTIES STRIP ────────────────────────────── */
.properties-section {
  background: #34529A;
  padding: 20px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.section-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
}
.section-header.dark h2 { color: var(--navy); }
.section-header.dark p   { color: var(--gray-600); }

.property-slider-wrap { padding: 0 20px; max-width: 1100px; margin: 0 auto; }

.prop-card {
  margin: 0 10px;
  background: rgba(30,41,59,0.9);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.prop-card:hover {
  #transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.prop-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.prop-card-body { padding: 14px 16px 18px; }
.prop-badge {
  display: inline-block;
  background: rgba(245,158,11,0.18);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(245,158,11,0.3);
}
.prop-specs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

/* Slick overrides */
.slick-dots {
  bottom: -34px;
}
.slick-dots li button:before { color: rgba(255,255,255,0.4); font-size: 8px; }
.slick-dots li.slick-active button:before { color: var(--amber); }
.slick-prev, .slick-next {
  width: 40px;
  height: 40px;
  top: 85px;        /* vertically centered on the 170px image */
  transform: translateY(-50%);
  z-index: 10;
}
.slick-prev { left: 5px; }
.slick-next { right: 5px; }
.slick-prev:before, .slick-next:before { color: var(--amber); font-size: 44px; line-height: 1; }

/* ─── FEATURES ────────────────────────────────────── */
.features-section {
  background: var(--white);
  padding: 80px 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feat-card.blue::before  { background: var(--blue); }
.feat-card.green::before { background: var(--green); }
.feat-card.orange::before{ background: var(--orange); }

.feat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card.blue  .feat-icon { background: rgba(59,130,246,0.12); }
.feat-card.green .feat-icon { background: rgba(34,197,94,0.12); }
.feat-card.orange .feat-icon{ background: rgba(249,115,22,0.12); }

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── HOW IT WORKS ────────────────────────────────── */
.how-section {
  background: var(--gray-50);
  padding: 80px 20px;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(to right, var(--orange), var(--amber));
    z-index: 0;
  }
}

.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ─── EDUCATIONAL CONTENT ─────────────────────────── */
.edu-section {
  background: var(--white);
  padding: 30px 20px;
}
.edu-container {
  max-width: 780px;
  margin: 0 auto;
}
.edu-container p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.edu-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.25;
}
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) { .edu-grid { grid-template-columns: repeat(2, 1fr); } }

.edu-block {
  border-left: 4px solid;
  padding: 20px 22px;
  background: var(--gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.edu-block:nth-child(1) { border-color: var(--blue); }
.edu-block:nth-child(2) { border-color: var(--orange); }
.edu-block:nth-child(3) { border-color: var(--green); }
.edu-block:nth-child(4) { border-color: var(--amber); }
.edu-block:nth-child(5) { border-color: var(--blue); }
.edu-block:nth-child(6) { border-color: var(--orange); }
.edu-block:nth-child(7) { border-color: var(--green); }

.edu-block h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.edu-block p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.edu-block a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.edu-block a:hover { text-decoration: underline; }

/* ─── CTA BANNER ──────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  padding: 72px 20px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 30px;
}
.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

/* ─── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 28px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: left;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img { width: 40px; height: 40px; border-radius: 6px; }
.footer-brand-text { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.footer-brand-name { font-weight: 700; color: var(--white); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── SURVEY PROGRESS BAR ────────────────────────────── */
/* Overrides progressbar.css — keep .progress-bar class for survey.js compat */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 0;
  box-shadow: none;
  margin-bottom: 8px;
  display: block;
}
.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--orange), var(--amber));
  border-radius: 3px;
  box-shadow: none;
  transition: width 0.4s ease-in-out;
}
.survey-progress-wrap {
  margin-bottom: 24px;
}
.survey-progress-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
/* ─── SURVEY QUESTION TEXT (inside dark glass card) ─── */
.survey_wrapper .form__field__label,
.step-card .form__field__label,
.survey_wrapper legend,
.survey_wrapper .form__row > label {
  color: rgba(255,255,255,0.9) !important;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1.5rem;
}
.survey_wrapper .form__title {
  color: var(--white);
}

.survey_wrapper a.back,  survey_wrapper a.back:hover{
  color: var(--amber);
}

/* ─── SURVEY TEXT SECTION (white area below hero) ──── */
.survey-text-section {
  background: var(--white);
  padding: 60px 20px;
}
.survey-text-section .container {
  max-width: 780px;
  margin: 0 auto;
}
.survey.text h1, .survey.text h2 {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.survey.text h1 { font-size: 1.6rem; }
.survey.text h2 { font-size: 1.25rem; margin-top: 28px; }
.survey.text p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.survey.text a { color: var(--orange); text-decoration: underline; }
.survey.text a:hover { color: var(--orange-dark); }

.survey-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-top: 16px;
  padding: 0 4px;
}
.survey-text a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.survey-text a:hover { color: var(--white); }

/* ─── STEP FORMS ─────────────────────────────────────── */
.step-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url(../images/bg.jpg) center/cover no-repeat;
  padding: 110px 20px 60px;
}
.step-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(42,99,236,0.62) 100%);
}
.step-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  text-align: center;
}
@media (min-width: 768px) {
  .step-hero { padding-top: 120px; }
}
.step-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.step-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 6px;
}
@media (min-width: 540px) {
  .step-fields-grid { grid-template-columns: 1fr 1fr; }
}
.step-field { display: flex; flex-direction: column; gap: 6px; }
.step-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-field label.error { color: #f87171; }
.step-field input[type="text"],
.step-field input[type="email"],
.step-field input[type="tel"] {
  height: 50px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--navy);
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.step-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.step-field input.error { border-color: #f87171; }
.step-submit {
  margin-top: 20px;
  text-align: center;
}
.step-submit .search-btn {
  width: 100%;
  max-width: 320px;
}
.step-sms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.step-sms input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
}
.step-sms label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  cursor: pointer;
}
.step-sms label a { color: rgba(255,255,255,0.7); }
.step-sms label a:hover { color: var(--white); }
.step-tcpa {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 16px;
  padding: 0 4px;
}
.step-tcpa a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.step-tcpa a:hover { color: var(--white); }

/* ─── CREDIT REPAIR PAGES ───────────────────────────── */
.cr-content {
  background: var(--white);
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Cards */
.cr-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px 14px;
  margin-bottom: 32px;
}
.cr-card-h {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .cr-card {
    padding: 36px;
  }
}

/* Video */
.cr-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cr-video-embed {
  width: 320px;
}

@media (max-width: 640px) {
  .cr-video-embed {
    width: 100%;
  }
}

.cr-video-clip {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  width: 320px;
  height: 516px;
}

@media (max-width: 640px) {
  .cr-video-clip {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 516;
  }
}

.cr-video-clip iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.cr-video-quote blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  border-left: 4px solid var(--orange);
  padding-left: 18px;
  margin: 0;
}

/* Comparison table */
.cr-table-wrap { overflow-x: auto; }
.cr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cr-table th, .cr-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
.cr-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.cr-table tbody tr:hover { background: var(--gray-50); }
.cr-col-bad  { color: #dc2626; }
.cr-col-good { color: #16a34a; }
@media (max-width: 600px) {
  .cr-table thead { display: none; }
  .cr-table td {
    display: block;
    padding: 8px 12px;
    text-align: right;
  }
  .cr-table td:first-child {
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    padding-top: 14px;
  }
  .cr-table td::before {
    content: attr(data-label);
    float: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-top: 3px;
  }

  .cr-table td.cr-col-bad::before {
    color: var(--orange);
  }

  .cr-table td.cr-col-good::before {
    color: #008205;
  }

}

/* Pitch cards */
.cr-pitches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .cr-pitches { grid-template-columns: repeat(3, 1fr); } }
.cr-pitch-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
}
.cr-pitch-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cr-pitch-icon { font-size: 1.8rem; line-height: 1; }
.cr-pitch-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.cr-pitch-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Testimonials */
.cr-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .cr-testimonials { grid-template-columns: repeat(3, 1fr); } }
.cr-testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 22px;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.65;
}
.cr-testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy);
}

/* Final CTA */
.cr-final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  color: var(--white);
  margin-bottom: 32px;
}
.cr-final-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cr-final-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.6;
}
.cr-cta-group {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 15px;
}
.cr-cta-group .homes-search-form { display: flex; }
.cr-cta-group .homes-search-form button { flex: 1; }
@media (max-width: 600px) {
  .cr-cta-group { flex-direction: column; align-items: stretch; }
  .cr-cta-group .homes-search-form { width: 100%; }
  .cr-cta-group .homes-search-form button { width: 100%; }
}
.cr-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* Call button */
.cr-call-btn {
  height: 56px;
  background: linear-gradient(to top, #1e7e34, #28a745);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
}
.cr-call-btn:hover { background: #1e7e34; }

/* Call overlay / modal */
.cr-call-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,10,40,0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.cr-call-overlay.active { display: flex; }
.cr-call-modal {
  background: linear-gradient(160deg, #0a2a5e 0%, #0d1f40 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 38px 32px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.cr-call-icon { font-size: 42px; line-height: 1; margin-bottom: 16px; display: block; }
.cr-call-title { font-size: 22px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.cr-call-sub { font-size: 14px; opacity: 0.7; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.cr-call-number { font-size: 30px; font-weight: 700; color: #4ade80; letter-spacing: 0.04em; margin-bottom: 20px; }
.cr-call-spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.cr-call-spinner-wrap::before,
.cr-call-spinner-wrap::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.cr-call-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: cr-spin 0.75s linear infinite;
  flex-shrink: 0;
}
@keyframes cr-spin { to { transform: rotate(360deg); } }
.cr-call-note { font-size: 13px; line-height: 1.6; opacity: 0.65; margin: 0 0 10px; }
.cr-call-direct {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
}
.cr-call-direct:hover { background: rgba(255,255,255,0.18); color: #fff; }
.cr-call-close-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  height: 46px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.cr-call-close-btn:hover { opacity: 0.75; }

/* ─── SCORE ENTRY FORM ───────────────────────────────── */
.score-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.score-form-row input[type="text"] { flex: 1; }
.score-form-row .search-btn { flex-shrink: 0; width: auto; }
@media (max-width: 480px) {
  .score-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .score-form-row input[type="text"],
  .score-form-row .search-btn {
    width: 100%;
    flex: none;
  }
}

/* ─── Migrated from main.css ─────────────────────────── */
.inner {
  #padding-top: 27px;
}

label.error, div.error {
  color: red;
}

.popup-block {
  display: none;
}

/* ─── TAPSTONE POPUP (fancybox exit-intent overlay) ── */
#fancy_box {
  padding: 0;
  text-align: left;
  white-space: normal;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 520px;
  width: 100%;
}

.tapstone {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  color: var(--white);
}

.tapstone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.18);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tapstone-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 6px;
}

.tapstone-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.tapstone-offers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tapstone-offers form {
  width: 100%;
  padding: 0;
  height: auto;
}

.tapstone-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.tapstone-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

.tapstone-btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  border-color: transparent;
}

.tapstone-btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
  border-color: transparent;
}

.tapstone-btn-icon { font-size: 1.2rem; flex-shrink: 0; }
.tapstone-btn-text { flex: 1; }
.tapstone-btn-arrow {
  flex-shrink: 0;
  opacity: 0.6;
  font-size: 1.1rem;
  transition: transform 0.15s;
}
.tapstone-btn:hover .tapstone-btn-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.form__title {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.6px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

@media screen and (min-width: 768px) {
  .form__title {
    font-size: 50px;
  }
}

.credit-bureaus {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  flex-wrap: nowrap;
  margin: 5px 0 15px 0;
  padding: 25px;
  #background: rgba(255, 255, 255, 0.08);
  #border-radius: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.credit-bureau {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.credit-bureau:not(:last-child) {
  border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

.credit-bureau img {
  height: 40px;
  filter: brightness(0) invert(1) drop-shadow(2px 2px 2px black);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.credit-bureau.transunion img {
  top: -13px;
  position: relative;
}

.credit-bureau img:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .credit-bureaus {
    gap: 5px;
    padding: 15px 0px 20px;
    flex-wrap: nowrap;
  }

  .credit-bureau {
    width: 30%;
    flex: 0 0 30%;
    padding: 0 5px;
  }

  .credit-bureau img {
    height: 30px;
    max-width: 100%;
    object-fit: contain;
  }

  .credit-bureau.transunion img {
    top: -7px;
  }
}
/* ─── jQuery UI autocomplete overrides ────────────── */
.ui-autocomplete {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
  font-family: var(--font) !important;
  font-size: 0.95rem !important;
  z-index: 9999 !important;
  max-height: 204px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.ui-menu-item-wrapper { padding: 10px 16px !important; min-height: 30px !important; display: flex !important; align-items: center !important; }
.ui-state-active, .ui-widget-content .ui-state-active {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
}

.autocomplete-suggestions { border: 1px solid #999; background: #faf6e6; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
