/* ==========================================================================
   DESIGN SYSTEM - BUYHAUS (VERDE, BLANCO Y DORADO)
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --primary-green: #0A5F38; /* Deep Emerald Green */
  --primary-green-light: #F0F7F4; /* Soft mint background */
  --primary-green-hover: #074528;
  --accent-gold: #D4AF37; /* Metallic Champagne Gold */
  --accent-gold-light: #FFF9E6; /* Light gold background tint */
  --accent-gold-hover: #B5932B;
  
  /* Neutral Palette */
  --bg-main: #FAFBFB;
  --text-dark: #122019;
  --text-muted: #5A6E63;
  --border-color: #D3E5DC;
  --white: #FFFFFF;
  
  /* Feedback Colors */
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-error: #EF4444;
  --color-error-light: #FEE2E2;
  
  /* Typography */
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadow Levels */
  --shadow-sm: 0 4px 12px rgba(10, 95, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 95, 56, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 32, 25, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(18, 32, 25, 0.04);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-green-hover);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.hidden {
  display: none !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar-container {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: var(--transition-fast);
}

.navbar-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-svg-logo {
  width: 32px;
  height: 30px;
}

.brand-svg-logo .home {
  fill: var(--primary-green-light);
  stroke: var(--primary-green);
  stroke-width: 8px;
}

.brand-svg-logo .dot {
  fill: var(--accent-gold);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

.btn-login {
  display: inline-block;
  padding: 8px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-fast);
}

.btn-login:hover {
  background-color: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10, 95, 56, 0.2);
}

/* Hamburger button styling for mobile (hidden on desktop) */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.btn-hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active states (cross animation) */
.btn-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.btn-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--white);
  padding: 64px 24px 100px;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 95, 56, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-accent {
  display: inline-block;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

/* Address Search Bar Container */
.search-box-container {
  width: 100%;
  max-width: 650px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition-fast);
}

.search-box-container:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(10, 95, 56, 0.15);
}

.search-input-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding-left: 12px;
  position: relative;
}

.icon-location {
  width: 20px;
  height: 20px;
  color: var(--primary-green);
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  background: none;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 400;
  padding: 12px 0;
}

.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}

.btn-clear-address {
  font-size: 20px;
  color: var(--text-muted);
  padding: 8px;
  margin-right: 8px;
}

.btn-clear-address:hover {
  color: var(--text-dark);
}

/* Primary Button Styling */
.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary-green) 0%, #178a56 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(10, 95, 56, 0.3);
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, var(--primary-green-hover) 0%, var(--primary-green) 100%);
  box-shadow: 0 6px 20px rgba(10, 95, 56, 0.4);
  transform: translateY(-1px);
}

.btn-primary-gradient:active {
  transform: translateY(1px);
}

/* Autocomplete Dropdown List */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  padding: 8px 0;
}

.autocomplete-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.autocomplete-item:hover {
  background-color: var(--primary-green-light);
}

.autocomplete-item .item-icon {
  font-size: 16px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.autocomplete-item .item-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.autocomplete-item .item-city {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}

.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 16px;
}

.trust-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Isometric Illustration */
.hero-illustration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 380px;
}

.isometric-card-container {
  position: relative;
  width: 320px;
  height: 300px;
}

.iso-card {
  position: absolute;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid var(--border-color);
  animation: floatCard 6s ease-in-out infinite;
}

.card-price {
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 260px;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-green-light) 100%);
  animation-delay: 0s;
  border-left: 4px solid var(--primary-green);
}

.iso-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.iso-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.iso-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-green);
}

.card-stats {
  bottom: 20px;
  right: -20px;
  z-index: 10;
  width: 220px;
  animation-delay: 1.5s;
  border-left: 4px solid var(--accent-gold);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(211, 229, 220, 0.5);
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-row:first-child {
  padding-top: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.stat-value.value-high {
  color: var(--primary-green);
}

.iso-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  height: 100%;
}

.deco-svg {
  width: 100%;
  height: 100%;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.section-how-it-works {
  background-color: var(--bg-main);
  padding: 80px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title.text-left {
  text-align: left;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle.text-left {
  text-align: left;
  margin-left: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.step-num-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.step-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   EDUCATIONAL SECTION
   ========================================================================== */

.section-educational {
  background-color: var(--white);
  padding: 80px 24px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.comparison-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  flex-shrink: 0;
  margin-top: 8px;
}

.point-bullet.bullet-purple {
  background-color: var(--primary-green);
}

.point-bullet.bullet-coral {
  background-color: var(--accent-gold);
}

.point-text {
  font-size: 15px;
  color: var(--text-dark);
}

.point-text strong {
  font-weight: 600;
}

.educational-callout {
  background-color: var(--primary-green-light);
  border-left: 4px solid var(--primary-green);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 12px;
  font-size: 14px;
}

.comparison-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comparison-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
  overflow: hidden;
  transition: var(--transition-fast);
}

.comparison-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.comp-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.comp-header h4 {
  font-size: 16px;
}

.comp-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.tag-comercial {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.tag-catastral {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
}

.comp-body {
  padding: 24px;
}

.comp-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.card-comercial .comp-price {
  color: var(--primary-green);
}

.card-catastral .comp-price {
  color: var(--accent-gold);
}

.comp-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-body li {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */

.section-faqs {
  background-color: var(--bg-main);
  padding: 80px 24px;
}

.faqs-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark);
  text-align: left;
}

.faq-icon-toggle {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), opacity var(--transition-normal);
  padding: 0 24px;
}

.faq-content p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ Active Styles */
.faq-item.active {
  border-color: var(--primary-green);
}

.faq-item.active .faq-trigger {
  color: var(--primary-green);
}

.faq-item.active .faq-icon-toggle {
  background-color: var(--primary-green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  max-height: 300px;
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
  background-color: #0E1813;
  color: var(--white);
  padding: 80px 24px 40px;
  border-top: 4px solid var(--accent-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo .brand-name {
  color: var(--white);
}

.footer-logo .brand-svg-logo .home {
  fill: #1A3026;
  stroke: var(--primary-green-light);
}

.footer-logo .brand-svg-logo .dot {
  fill: var(--accent-gold);
}

.footer-tagline {
  color: #7B8F84;
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links-column h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-column a {
  color: #7B8F84;
  font-size: 14px;
}

.footer-links-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #1C3026;
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #556B60;
}

/* ==========================================================================
   WIZARD MODAL & RESULTS OVERLAYS
   ========================================================================== */

.wizard-modal-overlay,
.results-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(14, 24, 19, 0.6);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.wizard-container,
.results-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 680px;
  padding: 40px;
  position: relative;
  animation: modalEnter var(--transition-slow);
  max-height: 90vh;
  overflow-y: auto;
}

.results-container {
  max-width: 1000px;
  padding: 48px;
  border-top: 6px solid var(--primary-green);
}

@keyframes modalEnter {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.btn-close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

.btn-close-modal:hover {
  color: var(--text-dark);
}

/* Wizard Progress Header */
.wizard-header {
  margin-bottom: 36px;
}

.wizard-steps-indicator {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-gold) 100%);
  border-radius: 100px;
  transition: width var(--transition-normal);
}

/* Wizard Steps General */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step-title {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 800;
}

.wizard-step-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Wizard Actions Buttons */
.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.btn-wizard-next {
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(10, 95, 56, 0.2);
}

.btn-wizard-next:hover:not(.btn-disabled) {
  background-color: var(--primary-green-hover);
  box-shadow: 0 6px 16px rgba(10, 95, 56, 0.3);
}

.btn-wizard-back {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.btn-wizard-back:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none !important;
  pointer-events: none;
}

/* Spinner Loader for Loading States */
.spinner-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin-loader-anim 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin-loader-anim {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   WIZARD STEPS STYLES
   ========================================================================== */

/* Step 1: Property Type Selection Cards */
.property-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.type-card {
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
}

.type-card:hover {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.type-card.active {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
  box-shadow: 0 8px 20px rgba(10, 95, 56, 0.1);
}

.type-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.type-card.active .type-card-icon {
  background-color: var(--primary-green);
  color: var(--white);
}

.type-card svg {
  width: 32px;
  height: 32px;
}

.type-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.type-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Step Form Grids */
.step-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--primary-green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 95, 56, 0.1);
}

.input-range-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-range-wrapper input {
  padding-right: 60px !important;
}

.input-suffix {
  position: absolute;
  right: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-error {
  font-size: 12px;
  color: var(--color-error);
  font-weight: 500;
  margin-top: 2px;
}

/* Button selectors group (rooms, bathrooms) */
.btn-selector-group {
  display: flex;
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 2px;
}

.btn-select {
  flex-grow: 1;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-select:hover {
  background-color: rgba(211, 229, 220, 0.4);
}

.btn-select.active {
  background-color: var(--white);
  color: var(--primary-green);
  box-shadow: 0 2px 6px rgba(10, 95, 56, 0.08);
}

/* Step 3: Antiguedad cards selector */
.antiguedad-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.anti-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  background-color: var(--white);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.anti-card:hover {
  border-color: var(--primary-green);
}

.anti-card.active {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.anti-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.anti-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: var(--primary-green) !important;
  background-color: rgba(10, 95, 56, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  align-self: center;
}

/* Amenities Checklist */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.amenity-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.amenity-checkbox input {
  display: none;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  background-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
  position: relative;
}

.amenity-checkbox input:checked + .checkbox-box {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.checkbox-box::after {
  content: '✓';
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  display: none;
}

.amenity-checkbox input:checked + .checkbox-box::after {
  display: block;
}

.checkbox-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Step 4: Consent & phone details */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  overflow: hidden;
  transition: var(--transition-fast);
}

.phone-input-wrapper:focus-within {
  border-color: var(--primary-green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 95, 56, 0.1);
}

.phone-prefix {
  padding: 12px 14px;
  border-right: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  background-color: rgba(211, 229, 220, 0.2);
}

.phone-input-wrapper input {
  border: none !important;
  background: none !important;
}

.consent-checkbox {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: flex-start;
}

.consent-checkbox input {
  display: none;
}

.consent-checkbox input:checked + .checkbox-box {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.consent-checkbox input:checked + .checkbox-box::after {
  display: block;
}

.checkbox-text-small {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-text-small a {
  font-weight: 600;
  text-decoration: underline;
}

/* Step 5: Loading SVG Animation (Line Tracing Loader) */
.loading-step-container {
  text-align: center;
  padding: 40px 0;
}

.loading-svg {
  width: 120px;
  height: 110px;
  margin: 0 auto 32px;
}

.loading-svg .home {
  fill: var(--primary-green-light);
  stroke: var(--primary-green);
  stroke-width: 8px;
  stroke-linecap: round;
}

.loading-svg .dot {
  fill: var(--accent-gold);
}

.animated-stroke {
  stroke-dasharray: 400px;
  stroke-dashoffset: 400px;
  animation: drawHouse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.animated-dot {
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes drawHouse {
  0% {
    stroke-dashoffset: 400px;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -400px;
  }
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.loading-message-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.mini-loader-bar {
  width: 240px;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 100px;
  margin: 0 auto;
  overflow: hidden;
}

.mini-loader-fill {
  width: 0;
  height: 100%;
  background-color: var(--primary-green);
  border-radius: 100px;
  transition: width 0.1s linear;
}

/* ==========================================================================
   RESULTS DASHBOARD MODAL
   ========================================================================== */

.results-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.report-badge {
  display: inline-block;
  background-color: var(--color-success-light);
  color: var(--color-success);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.results-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.result-address {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.results-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.results-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* First Column cards stack */
.price-range-card {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-green-light) 100%);
  border-color: rgba(10, 95, 56, 0.2);
}

.price-range-card h4 {
  font-size: 15px;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.price-range-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.price-min, .price-max {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.price-separator {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 600;
}

.currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-green);
}

.price-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid rgba(10, 95, 56, 0.1);
  padding-top: 20px;
  margin-bottom: 28px;
}

.price-detail-item {
  display: flex;
  flex-direction: column;
}

.det-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.det-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.det-value.text-green {
  color: var(--primary-green);
}

/* CTA Offer Box */
.offer-cta-box {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-cta-text h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.offer-cta-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pulse-animation {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 95, 56, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(10, 95, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 95, 56, 0);
  }
}

/* Statistics and details column card */
.stats-analysis-card {
  grid-row: span 2;
}

.stats-analysis-card h4 {
  font-size: 18px;
  margin-bottom: 24px;
}

/* Horizontal Market Bar Graphs */
.chart-mockup-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.market-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.bar-header span {
  color: var(--text-muted);
}

.bar-progress-container {
  width: 100%;
  height: 10px;
  background-color: var(--primary-green-light);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 100px;
}

.bar-fill.fill-purple {
  background: var(--primary-green);
}

.bar-fill.fill-gray {
  background-color: var(--border-color);
}

.details-checklist h5 {
  font-size: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.features-list span {
  color: var(--text-muted);
  font-weight: 500;
}

.features-list strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Expenses and deductions card */
.expenses-card {
  grid-column: span 1;
}

.expenses-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.expenses-card .card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.expenses-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.expense-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(211, 229, 220, 0.4);
}

.expense-row:last-child {
  border-bottom: none;
}

.exp-info {
  display: flex;
  flex-direction: column;
}

.exp-info strong {
  color: var(--text-dark);
  font-weight: 600;
}

.exp-info span {
  color: var(--text-muted);
  font-size: 11px;
}

.exp-val {
  font-weight: 700;
  color: var(--text-dark);
}

.comision-row .exp-val {
  color: var(--primary-green);
}

.text-strike {
  text-decoration: line-through;
  opacity: 0.6;
}

.total-payout-box {
  background-color: var(--primary-green-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px dashed var(--primary-green);
}

.payout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.payout-header span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.payout-header strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-green);
}

.payout-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Results footer buttons */
.results-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.btn-secondary {
  border: 1.5px solid var(--primary-green);
  color: var(--primary-green);
  background-color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
}

.btn-secondary:hover {
  background-color: var(--primary-green-light);
  box-shadow: var(--shadow-sm);
}

.btn-pdf {
  background-color: var(--text-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(18, 32, 25, 0.2);
}

.btn-pdf:hover {
  background-color: #1e332a;
  box-shadow: 0 6px 16px rgba(18, 32, 25, 0.3);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.notification-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: var(--text-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  z-index: 2000;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  animation: toastSlideIn var(--transition-normal);
}

.notif-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-icon {
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 18px;
}

.notif-message {
  font-size: 14px;
  font-weight: 500;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-illustration-container {
    height: 320px;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .results-dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-analysis-card {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .comp-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }

  .hero-trust-indicators {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
  }
  
  .navbar-wrapper {
    padding: 12px 16px;
    position: relative;
  }
  
  .btn-hamburger {
    display: flex;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 99;
  }
  
  .nav-links.open {
    display: flex !important;
  }
  
  .nav-link {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-link.active::after {
    bottom: 0;
  }
  
  .search-box-container {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
    box-shadow: var(--shadow-sm);
  }
  
  .search-input-wrapper {
    width: 100%;
    padding-left: 0;
  }
  
  .btn-primary-gradient {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-card {
    padding: 32px 24px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .wizard-modal-overlay,
  .results-modal-overlay {
    align-items: flex-start !important;
    padding: 16px 12px !important;
    overflow-y: auto !important;
  }
  
  .wizard-container,
  .results-container {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding: 24px 16px !important;
  }

  .btn-close-modal {
    top: 16px !important;
    right: 16px !important;
    font-size: 28px !important;
    padding: 8px !important;
  }

  .wizard-container input,
  .wizard-container select,
  .wizard-container textarea,
  .results-container input,
  .results-container select,
  .results-container textarea {
    font-size: 16px !important;
  }
  
  .property-type-selector {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .type-card {
    padding: 20px;
  }
  
  .step-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .antiguedad-selector {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .price-min, .price-max {
    font-size: 32px;
  }
  
  .results-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-secondary, .btn-pdf {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   NUEVOS ESTILOS: COMPRAMOS TU CASA Y PORTAL DE OFERTAS
   ========================================================================== */

.portal-view-step {
  display: none;
}

.portal-view-step.active {
  display: block;
}

.broker-card:hover {
  border-color: var(--primary-green) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-4px);
}

.btn-refer-broker {
  background-color: var(--primary-green) !important;
  color: var(--white) !important;
  border: none !important;
  transition: var(--transition-fast) !important;
}

.btn-refer-broker:hover {
  background-color: var(--primary-green-hover) !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .broker-recommendation-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   AUTOCOMPLETE TYPEAHEAD FOR BARRIOS
   ========================================================================== */

/* Contenedor relativo */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

/* Campo de entrada */
.autocomplete-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background-color: var(--white);
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.autocomplete-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(10, 95, 56, 0.15);
}

/* Lista desplegable con transición suave */
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  max-height: 220px;
  overflow-y: auto;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 2px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  scrollbar-width: thin;
}

.autocomplete-list.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Ítems individuales */
.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 14px;
  text-align: left;
  transition: var(--transition-fast);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

/* Hover e ítem activo con teclado */
.autocomplete-item:hover,
.autocomplete-item-active {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

/* Resaltado del texto coincidente */
.autocomplete-highlight {
  font-weight: 800;
  color: var(--primary-green);
}

.legal-scroll-container {
  overscroll-behavior: contain;
}

/* Scrollbar styles for legal scrollable container */
.legal-scroll-container::-webkit-scrollbar {
  width: 8px;
}
.legal-scroll-container::-webkit-scrollbar-track {
  background: var(--bg-main);
  border-radius: 4px;
}
.legal-scroll-container::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.legal-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   HERO CALL TO ACTION BUTTON (CTA) REDESIGN
   ========================================================================== */

#btn-hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 42px !important; /* Más aire vertical y horizontal */
  font-size: 18px !important;
  font-weight: 800 !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  color: var(--white) !important;
  cursor: pointer;
  background: linear-gradient(135deg, #074729 0%, var(--primary-green) 50%, #15794c 100%) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 8px 24px rgba(10, 95, 56, 0.25) !important;
}

#btn-hero-offer:hover {
  background: linear-gradient(135deg, var(--primary-green) 0%, #15794c 50%, #1c9e64 100%) !important;
  box-shadow: 0 12px 32px rgba(10, 95, 56, 0.35) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

#btn-hero-offer:active {
  transform: translateY(0) scale(1.0) !important;
}

@media (max-width: 768px) {
  #btn-hero-offer {
    padding: 16px 28px !important;
    font-size: 16px !important;
    width: 100% !important;
    justify-content: center;
  }
}




