/*
 * Title:       HMVR Recruit Styles
 * Description: Simplified mobile - box-sizing on all elements, proper wrap containment
 * Filepath:    wp-content/plugins/homeowners-marketplace-vendor-recruit/public/css/hmvr-recruit.css
 * Version:     1.6.6
 * Created:     2025-09-26
 * Updated:     2025-10-04
 * Created By:  Homeowners Marketplace (Michael Pellegrin)
 */

#hmvr {
  --hm-teal: #20B77E;
  --hm-teal-600: #25c188;
  --hm-teal-700: #1a986a;
  --hm-teal-800: #167e59;
  --hm-dark: #0a0f1a;
  --hm-text: #1b2430;
  --hm-muted: #6b7280;
  --hm-bg: #f7faf9;
  --hm-card: #ffffff;
  isolation: isolate;
  color: var(--hm-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Reset and base styles */
#hmvr * { 
  box-sizing: border-box; 
}

#hmvr h1, 
#hmvr h2, 
#hmvr h3 { 
  margin: 0 0 0.5rem; 
  line-height: 1.2; 
}

#hmvr p { 
  margin: 0 0 1rem; 
}

#hmvr a { 
  text-decoration: none; 
}

/* Container and layout */
#hmvr .hmvr-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Typography */
#hmvr .hmvr-h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  margin-bottom: 0.75rem; 
  text-align: center; 
}

#hmvr .hmvr-h3 { 
  font-size: clamp(1.1rem, 3vw, 1.3rem); 
  margin-bottom: 0.5rem; 
}

#hmvr .hmvr-sub { 
  color: var(--hm-muted); 
  margin: 0 auto 1.5rem; 
  text-align: center; 
  max-width: 68ch; 
}

/* Buttons */
#hmvr .hmvr-btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 0.9rem 1.5rem; 
  border-radius: 12px; 
  border: 0; 
  cursor: pointer;
  font-weight: 600; 
  text-align: center; 
  transition: all 0.2s ease;
  font-size: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

#hmvr .hmvr-btn:hover { 
  transform: translateY(-1px); 
}

#hmvr .hmvr-btn-primary { 
  background: var(--hm-teal); 
  color: #fff; 
}

#hmvr .hmvr-btn-primary:hover { 
  background: var(--hm-teal-700); 
}

#hmvr .hmvr-btn-dark { 
  background: var(--hm-dark); 
  color: #fff; 
}

#hmvr .hmvr-btn-dark:hover { 
  background: #1a2333; 
}

#hmvr .hmvr-btn-ghost { 
  background: transparent; 
  color: var(--hm-teal); 
  border: 2px solid var(--hm-teal); 
}

#hmvr .hmvr-btn-ghost:hover { 
  background: rgba(32,183,126,0.08); 
}

/* Sections */
#hmvr .hmvr-section { 
  padding: 3rem 0; 
}

/* Hero Section */
#hmvr .hmvr-hero {
  background: linear-gradient(180deg, rgba(32,183,126,0.12), rgba(32,183,126,0.04) 60%, transparent);
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
  text-align: center;
  margin-top: -20px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

#hmvr .hmvr-hero .hmvr-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#hmvr .hmvr-hero-badge {
  display: inline-block; 
  font-size: 0.85rem; 
  font-weight: 600; 
  letter-spacing: 0.02em;
  color: var(--hm-teal-800); 
  background: rgba(32,183,126,0.12); 
  border: 1px solid rgba(32,183,126,0.25);
  padding: 0.4rem 0.8rem; 
  border-radius: 999px; 
  margin-bottom: 1rem;
}

#hmvr .hmvr-hero-title { 
  font-size: clamp(1.8rem, 5vw, 2.8rem); 
  margin-bottom: 0.5rem;
}

#hmvr .hmvr-hero-title span { 
  color: var(--hm-teal-800); 
}

#hmvr .hmvr-hero-subtitle { 
  font-size: 1.1rem; 
  margin-bottom: 0.5rem;
}

#hmvr .hmvr-hero-content { 
  color: var(--hm-text); 
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

#hmvr .hmvr-hero-ctas { 
  display: flex; 
  gap: 1rem; 
  margin: 1.5rem 0; 
  flex-wrap: wrap; 
  justify-content: center; 
}

#hmvr .hmvr-hero-trust { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 0.75rem; 
  margin-top: 2rem; 
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#hmvr .hmvr-trust-item {
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  font-size: 0.9rem;
  color: var(--hm-muted); 
  background: #fff; 
  padding: 0.7rem 1rem; 
  border-radius: 10px; 
  border: 1px solid #e6f4ef;
}

#hmvr .hmvr-trust-item svg { 
  width: 20px; 
  height: 20px; 
  color: var(--hm-teal-700); 
  flex-shrink: 0;
}

/* Introduction Section */
#hmvr .hmvr-intro-grid { 
  display: grid; 
  gap: 2rem; 
  grid-template-columns: 1fr; 
  align-items: center;
}

#hmvr .hmvr-intro-copy { 
  text-align: left;
}

#hmvr .hmvr-intro-content p { 
  margin-bottom: 1rem;
}

#hmvr .hmvr-intro-ctas { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
  margin-top: 1.5rem;
}

#hmvr .hmvr-intro-media { 
  display: flex; 
  justify-content: center;
}

#hmvr .hmvr-intro-img {
  width: 100%; 
  max-width: 560px; 
  aspect-ratio: 4/3; 
  border-radius: 16px; 
  border: 1px solid #e9efec;
  background: linear-gradient(135deg, rgba(32,183,126,0.1), transparent);
  color: var(--hm-muted); 
  display: grid; 
  place-items: center; 
  text-align: center; 
  font-weight: 600;
}

#hmvr .hmvr-intro-img-real {
  width: 100%; 
  max-width: 560px; 
  height: auto; 
  border-radius: 16px; 
  border: 1px solid #e9efec;
}

/* Why Section - Bullets */
#hmvr .hmvr-bullets { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: 0.75rem; 
}

#hmvr .hmvr-bullets li {
  display: grid; 
  grid-template-columns: auto 1fr; 
  align-items: start; 
  gap: 0.75rem;
  background: #fff; 
  border: 1px solid #e9efec; 
  border-radius: 12px; 
  padding: 1rem 1.2rem;
}

#hmvr .hmvr-bullet-icon { 
  color: var(--hm-teal); 
  font-weight: 900; 
  font-size: 1.2rem;
  margin-top: 0.1rem; 
}

#hmvr .hmvr-bullet-h3 { 
  margin: 0; 
  font-weight: 500;
}

/* How It Works - Steps with Connecting Line */
#hmvr .hmvr-steps { 
  display: grid; 
  gap: 1.5rem; 
  grid-template-columns: 1fr; 
  margin-top: 2rem;
  position: relative;
}

/* Connecting line for desktop */
@media (min-width: 768px) {
  #hmvr .hmvr-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  #hmvr .hmvr-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 16.666%;
    right: 16.666%;
    height: 3px;
    background: linear-gradient(90deg, var(--hm-teal-600), var(--hm-teal-700));
    z-index: 0;
    border-radius: 2px;
  }
}

#hmvr .hmvr-step {
  position: relative; 
  background: var(--hm-card); 
  border: 1px solid #e9efec; 
  border-radius: 16px; 
  padding: 1.5rem; 
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  z-index: 1;
}

#hmvr .hmvr-step-num {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hm-teal-600), var(--hm-teal-800));
  color: #fff; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  font-weight: 800; 
  font-size: 1.1rem; 
  box-shadow: 0 4px 12px rgba(32,183,126,0.3);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

/* Join Form Section */
#hmvr .hmvr-card {
  background: var(--hm-card); 
  border: 1px solid #e9efec; 
  border-radius: 16px; 
  padding: 2rem; 
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

#hmvr .hmvr-form-card { 
  padding: 2rem; 
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#hmvr .hmvr-shortcode-placeholder {
  background: #fff8e6; 
  border: 1px solid #ffe0a3; 
  color: #633f00;
  padding: 1rem; 
  border-radius: 10px; 
  font-size: 0.95rem;
  text-align: center;
}

/* Plans Section */
#hmvr .hmvr-plans { 
  background: var(--hm-bg);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

#hmvr .hmvr-plans .hmvr-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#hmvr .hmvr-plan-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 1.5rem; 
  margin-top: 2rem;
}

#hmvr .hmvr-plan {
  border: 1px solid #e9efec; 
  border-radius: 16px; 
  padding: 1.5rem; 
  background: #fff; 
  text-align: left;
  box-sizing: border-box;
}

#hmvr .hmvr-plan-head { 
  font-weight: 800; 
  font-size: 1.3rem;
  margin-bottom: 0.5rem; 
  color: var(--hm-teal-800);
}

#hmvr .hmvr-plan-featured { 
  border: 2px solid var(--hm-teal); 
  position: relative;
}

#hmvr .hmvr-plan p { 
  margin-bottom: 1rem; 
  color: var(--hm-muted);
}

#hmvr .hmvr-plan-list { 
  list-style: none; 
  margin: 0 0 1.5rem; 
  padding: 0; 
  display: grid; 
  gap: 0.5rem; 
}

#hmvr .hmvr-plan-list li:before {
  content: "✓ ";
  color: var(--hm-teal);
  font-weight: bold;
}

/* Subscribe Section */
#hmvr .hmvr-sub-card { 
  display: grid; 
  gap: 1rem; 
  margin-top: 1.5rem;
}

/* FAQ Section */
#hmvr .hmvr-faq-list { 
  display: grid; 
  gap: 0.75rem; 
  margin-top: 2rem;
}

#hmvr .hmvr-faq-item { 
  border: 1px solid #e9efec; 
  border-radius: 12px; 
  overflow: hidden; 
  background: #fff; 
}

#hmvr .hmvr-faq-q {
  width: 100%; 
  text-align: left; 
  background: #fff; 
  border: 0; 
  padding: 1rem 1.2rem; 
  font-weight: 600; 
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  padding-right: 3rem;
}

#hmvr .hmvr-faq-q:after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--hm-teal);
  transition: transform 0.2s ease;
}

#hmvr .hmvr-faq-item.active .hmvr-faq-q:after {
  transform: translateY(-50%) rotate(45deg);
}

#hmvr .hmvr-faq-a { 
  display: none; 
  padding: 0 1.2rem 1rem; 
  color: var(--hm-muted); 
}

#hmvr .hmvr-faq-item.active .hmvr-faq-a { 
  display: block; 
}

#hmvr .hmvr-faq-item.active .hmvr-faq-q { 
  background: rgba(32,183,126,0.06); 
}

/* Sticky Bar */
#hmvr .hmvr-stickybar {
  position: fixed; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  display: none; 
  justify-content: center; 
  gap: 1rem;
  padding: 0.75rem 1rem; 
  background: rgba(255,255,255,0.98); 
  border-top: 1px solid #e9efec; 
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

#hmvr .hmvr-stickybar .hmvr-btn { 
  width: 100%; 
  max-width: 300px;
}

/* Responsive Design */
@media (min-width: 768px) {
  #hmvr .hmvr-hero-trust { 
    grid-template-columns: repeat(3, 1fr); 
  }
  
  #hmvr .hmvr-plan-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (min-width: 900px) {
  #hmvr .hmvr-intro-grid { 
    grid-template-columns: 1.2fr 1fr; 
    gap: 3rem; 
  }
  
  #hmvr .hmvr-intro .hmvr-h2, 
  #hmvr .hmvr-intro .hmvr-sub { 
    text-align: left; 
  }
}

@media (max-width: 720px) {
  #hmvr .hmvr-wrap { 
    padding: 0 15px; 
  }
  
  #hmvr .hmvr-hero-ctas,
  #hmvr .hmvr-intro-ctas { 
    flex-direction: column; 
  }
  
  #hmvr .hmvr-hero-ctas .hmvr-btn,
  #hmvr .hmvr-intro-ctas .hmvr-btn,
  #hmvr .hmvr-plan .hmvr-btn { 
    width: 100%; 
  }
}