/* SOCIAL PROP V5 — mejoras UX no disruptivas, diseño y marca de la V4 conservados. */
/* Tipografía y legibilidad */
@media (min-width: 1381px) {
  .nav-link { font-size: 14px; }
}
@media (min-width: 1181px) and (max-width: 1380px) {
  .nav-link { font-size: 13px; }
}
.hero-lead { font-size: clamp(16px, 1.45vw, 18px); }
.filter-copy > span { color: #545364; font-size: 12px; font-weight: 700; }
.filter-copy select { font-size: 14px; }
.project-meta { font-size: 13px; line-height: 1.45; }
.project-meta .icon { width: 16px; height: 16px; }
.project-data-row { font-size: 12px; }
.project-data-row strong { font-size: 16px; }
.project-developer { font-size: 12px; }
.project-link { font-size: 14px; }
.process-step h3 { font-size: 15px; }
.process-step p { font-size: 13px; line-height: 1.6; }
.contact-field > span { font-size: 13px; }
.contact-field input, .contact-field select { font-size: 16px; }
.contact-consent { font-size: 13px; }
.contact-form-status { font-size: 13px; }
.contact-channel-copy small { font-size: 13px; }
.hero-card-body p { font-size: 12px; }
.hero-card-body a { font-size: 13px; }
.commercial-note { font-size: 12px; }
.rail-hint { display: none; }
.empty-state .empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.empty-state .empty-actions .button { min-width: 152px; }

/* Captación adicional: aspecto editorial premium, acorde a la paleta oficial */
.match-section { padding: 8px 0 88px; background: #fff; scroll-margin-top: 96px; }
.match-shell {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e5d9ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(67, 20, 109, .095);
}
.match-copy {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 4.3vw, 62px);
  color: #fff;
  background: linear-gradient(148deg, #602797, #43146d 87%);
}
.match-copy::before,
.match-copy::after { content:""; position:absolute; z-index:-1; border-radius: 50%; pointer-events: none; }
.match-copy::before { width: 420px; height: 420px; right: -220px; top: -250px; border: 65px solid rgba(255,255,255,.07); }
.match-copy::after { width: 250px; height: 250px; left: -130px; bottom: -180px; background: rgba(223,196,250,.1); }
.match-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 24px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; background: rgba(255,255,255,.1); color: #f3e7ff;
  font-size: 12px; font-weight: 700; letter-spacing: .055em;
}
.match-kicker .icon { width: 17px; height: 17px; }
.match-copy h2 { max-width: 480px; margin: 0 0 18px; color: #fff; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.09; }
.match-description { max-width: 410px; margin: 0 0 34px; color: #f0e4f7; font-size: 16px; line-height: 1.7; }
.match-benefits { display: grid; gap: 13px; font-size: 14px; font-weight: 650; }
.match-benefits span { display: flex; gap: 12px; align-items: flex-start; }
.match-benefits .icon { width: 19px; height: 19px; color: #ead5ff; }
.match-form-panel { padding: clamp(28px, 3.4vw, 48px); min-width: 0; }
.match-form-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.match-form-overline { color: #7e17b7; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.match-form-header h3 { margin: 8px 0 0; color: var(--sp-deep); font-size: clamp(21px, 2vw, 26px); letter-spacing: -.03em; }
.match-form-mark { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; color: var(--sp-primary); background: var(--sp-lavender); border-radius: 16px; }
.match-form-mark .icon { width: 26px; height: 26px; }
.match-form[hidden], .match-success[hidden] { display: none !important; }
.match-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 15px; }
.match-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.match-field > span { color: #494455; font-size: 13px; font-weight: 750; line-height: 1.4; }
.match-field > span strong { color: var(--sp-accent); }
.match-field input, .match-field select, .match-field textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px;
  border: 1px solid #d9d3e1; border-radius: 11px; background: #fff;
  color: var(--sp-text); font-family: inherit; font-size: 16px; line-height: 1.4;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
/* El comentario ocupa la fila entera: es texto libre y en media columna no se lee. */
.match-field-full { grid-column: 1 / -1; }
.match-field textarea { min-height: 92px; resize: vertical; }
.match-field input::placeholder, .match-field textarea::placeholder { color: #7b7486; }
.match-field input:focus, .match-field select:focus, .match-field textarea:focus { outline: none; border-color: var(--sp-primary); box-shadow: 0 0 0 3px rgba(126,23,183,.12); }
.match-field input:disabled { background: #f6f3f8; color: #827a8d; }
.match-consent { display: flex; align-items: flex-start; gap: 11px; margin: 21px 0 14px; color: #5c5866; font-size: 13px; line-height: 1.58; cursor: pointer; }
.match-consent input { flex: 0 0 19px; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--sp-primary); }
.match-consent strong { color: var(--sp-accent); }
.match-form-message { margin: 0 0 12px; color: #94314b; font-size: 13px; line-height: 1.55; font-weight: 700; }
.match-form-message:empty { display: none; }
.match-submit { width: 100%; min-height: 54px; font-size: 15px; }
.match-submit:disabled { opacity: .55; cursor: not-allowed; }
.match-helper { margin: 12px 0 0; color: #716b7a; font-size: 12px; line-height: 1.6; }
.match-success { padding: 40px 8px 24px; text-align: center; }
.match-success-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; background: #eaf7f0; color: #217a4a; border-radius: 50%; }
.match-success-symbol .icon { width: 30px; height: 30px; }
.match-success h3 { margin: 0 0 12px; font-size: 28px; }
.match-success p { color: var(--sp-muted); font-size: 15px; }
.match-success .button { margin-top: 14px; }

@media (max-width: 1000px) {
  .match-shell { grid-template-columns: 1fr; }
  .match-copy { padding: 36px 38px; }
  .match-copy h2 { max-width: 740px; font-size: 38px; }
  .match-description { max-width: 680px; margin-bottom: 20px; }
  .match-benefits { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  .match-form-panel { padding: 35px 38px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .hero-inner { padding-top: 36px; padding-bottom: 83px; gap: 20px; }
  .hero-side { gap: 12px; }
}
@media (max-width: 700px) {
  /* Portada más compacta para mostrar el buscador antes */
  .hero { min-height: 0; }
  .hero-inner { padding-block: 26px 67px; gap: 15px; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 8px; }
  .hero-copy h1 { font-size: clamp(35px, 9.4vw, 46px); margin-bottom: 10px; line-height: 1.07; }
  .hero-lead { font-size: 16px; line-height: 1.5; margin-bottom: 15px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 46px; font-size: 13px; }
  .hero-side { gap: 8px; }
  .advice-chip { display: none; }
  .advice-chip { padding: 8px 10px; }
  .advice-chip strong { font-size: 13px; }
  .advice-chip small { font-size: 12px; }
  .hero-project { grid-template-columns: minmax(120px, 38%) minmax(0,1fr); }
  .hero-card-image { min-height: 127px; }
  .hero-card-body { padding: 9px 9px 6px; }
  .hero-card-body h2 { font-size: 16px; line-height: 1.2; margin-bottom: 4px; }
  .hero-card-body p { font-size: 12px; line-height: 1.25; margin: 3px 0; }
  .hero-card-body a { min-height: 36px; font-size: 12px; margin-top: 5px; padding: 4px 6px; text-align: center; }
  .hero-card-image span { font-size: 10px; }
  .search-wrap { margin-top: -47px; }
  .filter-field { min-height: 66px; padding: 9px 10px; }
  .filter-copy > span { font-size: 12px; }
  .filter-copy select { font-size: 15px; }
  .filter-chevron { right: 6px; bottom: 15px; width: 12px; }
  .filter-icon { width: 30px; height: 30px; }
  .search-panel { gap: 9px; padding: 12px; }
  .search-button { font-size: 15px; }
  .project-meta { font-size: 13px; }
  .project-data-row { font-size: 12px; }
  .project-data-row strong { font-size: 16px; }
  .process-step h3 { font-size: 16px; }
  .process-step p { font-size: 14px; }
  .broker-inner p { font-size: 14px; }
  .rail-hint { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; color: #625978; font-size: 13px; font-weight: 650; }
  .rail-hint .icon { width: 15px; height: 15px; }
  .match-section { padding: 4px 0 54px; }
  .match-shell { border-radius: 20px; }
  .match-copy { padding: 30px 24px 29px; }
  .match-kicker { margin-bottom: 14px; font-size: 11px; }
  .match-copy h2 { font-size: clamp(30px, 7vw, 38px); }
  .match-description { font-size: 15px; margin-bottom: 18px; }
  .match-benefits { display: grid; gap: 8px; font-size: 13px; }
  .match-form-panel { padding: 27px 20px; }
  .match-form-header { margin-bottom: 22px; }
  .match-form-header h3 { font-size: 22px; }
  .match-form-mark { width: 42px; height: 42px; }
  .match-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .match-field > span { font-size: 14px; }
  .match-field input, .match-field select { min-height: 52px; font-size: 16px; }
  .match-consent { font-size: 13px; }
  .match-helper { font-size: 12px; }
  .empty-state { padding: 26px 17px; }
}
@media (max-width: 379px) {
  .hero-actions .button { width: 100%; }
  .hero-project { grid-template-columns: 36% minmax(0,1fr); }
  .hero-card-body p { font-size: 11px; }
  .hero-card-body h2 { font-size: 15px; }
  .hero-card-body a { font-size: 11px; }
  .filter-field { min-height: 59px; }
  .match-copy { padding: 27px 18px; }
  .match-form-panel { padding: 24px 16px; }
  .match-form-mark { display: none; }
}
