/* ============================================
   URBANOVA IMPROVEMENTS — Junio 2026
   Mejoras críticas: calculadora, leads, comparador, testimonios, proceso, badges
   ============================================ */

/* ---- HEADER TRANSPARENTE — Vidrio elegante ---- */
.site-header-wrap {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header-wrap.is-scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 4px 30px rgba(7, 30, 44, 0.06);
  border-bottom: 1px solid rgba(200,155,60,0.08);
}

/* ---- HERO DE CRÉDITOS — Fondo oscuro para que el título blanco se vea ---- */
body[data-credit-type] .hero {
  background: linear-gradient(160deg, #071e2c 0%, #0a2838 40%, #0e2f44 100%);
}
body[data-credit-type] .hero .hero-copy,
body[data-credit-type] .hero .section-copy {
  color: rgba(255,255,255,0.8);
}
body[data-credit-type] .hero .hero-panel {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}
body[data-credit-type] .hero .hero-panel .hero-list li {
  color: rgba(255,255,255,0.7);
}
body[data-credit-type] .hero .hero-panel .card-icon {
  background: rgba(200,155,60,0.15);
  color: var(--gold, #C89B3C);
}

/* ---- CALCULADORA DE CRÉDITO ---- */
.calculator-section {
    background: var(--dark-2, #141414);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    max-width: 720px;
    margin: 0 auto;
}
.calculator-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}
.calculator-section .calc-subtitle {
    color: var(--text-muted, #9a9a9a);
    text-align: center;
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calc-field.full-width {
    grid-column: 1 / -1;
}
.calc-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text, #fff);
}
.calc-field input,
.calc-field select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--gold, #c9a84c);
}
.calc-field input::placeholder {
    color: #666;
}
.calc-result {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.02));
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 16px;
}
.calc-result .calc-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold, #c9a84c);
    line-height: 1.2;
}
.calc-result .calc-label {
    font-size: 0.875rem;
    color: var(--text-muted, #9a9a9a);
    margin-top: 4px;
}
.calc-result .calc-detail {
    font-size: 0.8125rem;
    color: var(--text-muted, #9a9a9a);
    margin-top: 12px;
    line-height: 1.5;
}
.calc-result .calc-cta {
    margin-top: 16px;
}
@media (max-width: 640px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calculator-section {
        padding: 24px;
    }
    .calc-result .calc-amount {
        font-size: 1.5rem;
    }
}

/* ---- LEAD FORM ---- */
.lead-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    max-width: 680px;
    margin: 0 auto;
}
.lead-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}
.lead-section .lead-subtitle {
    color: var(--text-muted, #9a9a9a);
    text-align: center;
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.lead-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.lead-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lead-field.full-width {
    grid-column: 1 / -1;
}
.lead-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text, #fff);
}
.lead-field label .required {
    color: var(--gold, #c9a84c);
}
.lead-field input,
.lead-field select,
.lead-field textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    font-family: inherit;
}
.lead-field textarea {
    resize: vertical;
    min-height: 80px;
}
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
    outline: none;
    border-color: var(--gold, #c9a84c);
}
.lead-field input::placeholder,
.lead-field textarea::placeholder {
    color: #666;
}
.lead-submit {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.lead-privacy {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted, #9a9a9a);
    margin-top: 16px;
}
.lead-privacy a {
    color: var(--gold, #c9a84c);
    text-decoration: underline;
}
.lead-success {
    display: none;
    text-align: center;
    padding: 32px;
}
.lead-success svg {
    width: 56px;
    height: 56px;
    color: var(--gold, #c9a84c);
    margin-bottom: 16px;
}
.lead-success h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.lead-success p {
    color: var(--text-muted, #9a9a9a);
    font-size: 0.95rem;
}
@media (max-width: 640px) {
    .lead-grid {
        grid-template-columns: 1fr;
    }
    .lead-section {
        padding: 24px;
    }
}

/* ---- COMPARADOR DE PROPIEDADES ---- */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 16px 24px;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
}
.compare-bar.active {
    display: flex;
}
.compare-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.compare-bar-count {
    font-weight: 700;
    color: var(--gold, #c9a84c);
}
.compare-bar-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8125rem;
    color: #fff;
}
.compare-chip button {
    background: none;
    border: none;
    color: var(--text-muted, #9a9a9a);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}
.compare-chip button:hover {
    color: #ff6b6b;
}
.compare-bar-right {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.compare-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted, #9a9a9a);
    cursor: pointer;
    margin-top: 10px;
}
.compare-checkbox input[type="checkbox"] {
    accent-color: var(--gold, #c9a84c);
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.compare-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.compare-modal-overlay.active {
    display: flex;
}
.compare-modal {
    background: var(--dark-2, #141414);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow: auto;
    padding: 32px;
}
.compare-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.compare-modal-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
}
.compare-modal-close {
    background: none;
    border: none;
    color: var(--text-muted, #9a9a9a);
    font-size: 1.5rem;
    cursor: pointer;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.875rem;
}
.compare-table th {
    font-weight: 600;
    color: var(--gold, #c9a84c);
    background: rgba(201, 168, 76, 0.05);
    white-space: nowrap;
}
.compare-table td {
    color: var(--text, #fff);
}
.compare-table td.missing {
    color: var(--text-muted, #9a9a9a);
    font-style: italic;
}
.compare-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.compare-table .prop-name {
    font-weight: 600;
    color: var(--text, #fff);
}
.compare-table .prop-price {
    color: var(--gold, #c9a84c);
    font-weight: 700;
}
@media (max-width: 768px) {
    .compare-table {
        display: block;
        overflow-x: auto;
    }
    .compare-modal {
        padding: 20px;
        max-height: 95vh;
    }
    .compare-bar {
        padding: 12px 16px;
    }
}

/* ---- TESTIMONIOS ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
}
.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text, #fff);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold, #c9a84c);
    font-size: 0.875rem;
    flex-shrink: 0;
}
.testimonial-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text, #fff);
}
.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--text-muted, #9a9a9a);
}
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}
.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--gold, #c9a84c);
    fill: currentColor;
}

/* ---- BADGES DE CONFIANZA ---- */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 0;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    max-width: 140px;
}
.trust-badge svg {
    width: 40px;
    height: 40px;
    color: var(--gold, #c9a84c);
}
.trust-badge strong {
    font-size: 0.875rem;
    color: var(--text, #fff);
}
.trust-badge span {
    font-size: 0.75rem;
    color: var(--text-muted, #9a9a9a);
    line-height: 1.4;
}

/* ---- PROCESO DE COMPRA ---- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold, #c9a84c), transparent);
    opacity: 0.2;
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}
.process-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold, #c9a84c), #b8932e);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}
.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text, #fff);
}
.process-step p {
    font-size: 0.875rem;
    color: var(--text-muted, #9a9a9a);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
    .process-step {
        text-align: left;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }
    .process-step-number {
        margin: 0;
        flex-shrink: 0;
    }
    .process-step h4,
    .process-step p {
        text-align: left;
    }
}

/* ---- CREDITS GROUP — Contenedor con fondo para acordeones ---- */
.credits-group {
  background: var(--cream-light, #FDF8F0);
  border-radius: var(--radius-md, 16px);
  padding: 28px 30px 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(200,155,60,0.06);
  border: 1px solid rgba(200,155,60,0.12);
}
.credits-group .eyebrow {
  margin-bottom: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  .credits-group {
    padding: 20px 16px 6px;
    border-radius: 12px;
  }
}

/* ---- ACCORDION / FAQ — Estilo gradiente oscuro con triángulo ---- */
.credits-accordion details,
section:not(.catalog-faq) > details.reveal,
section details.reveal:not(.legal-disclosure) {
  padding: 16px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0A1A28, #0F2535);
  border: 1px solid rgba(200,155,60,0.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.credits-accordion details[open],
section details.reveal[open]:not(.legal-disclosure) {
  border-color: rgba(200,155,60,0.25);
  box-shadow: 0 4px 16px rgba(200,155,60,0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}
.credits-accordion summary,
section details.reveal:not(.legal-disclosure) summary {
  cursor: pointer;
  font-weight: 700;
  color: #E8DDD0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.credits-accordion summary::-webkit-details-marker,
section details.reveal:not(.legal-disclosure) summary::-webkit-details-marker {
  display: none;
}
.credits-accordion summary::after,
section details.reveal:not(.legal-disclosure) summary::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--gold, #C89B3C);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 14px;
}
.credits-accordion details[open] summary::after,
section details.reveal[open]:not(.legal-disclosure) summary::after {
  transform: rotate(180deg);
}
.credits-accordion details:first-of-type summary::before,
section details.reveal:first-of-type summary::before {
  content: '';
  position: absolute;
  left: 30px;
  top: -6px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #0A1A28;
}
.credits-accordion details:first-of-type[open] summary::before,
section details.reveal:first-of-type[open] summary::before {
  border-bottom-color: rgba(200,155,60,0.15);
}
.credits-accordion p,
section details.reveal:not(.legal-disclosure) p {
  margin-top: 14px;
  color: rgba(200,195,185,0.8);
  line-height: 1.7;
  font-size: 0.88rem;
}

/* ---- ANALYTICS BANNER ---- */
.analytics-banner {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: rgba(20,20,20,0.95);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 320px;
    z-index: 999;
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.analytics-banner.active {
    display: block;
}
.analytics-banner h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gold, #c9a84c);
}
.analytics-banner p {
    font-size: 0.8125rem;
    color: var(--text-muted, #9a9a9a);
    line-height: 1.5;
    margin-bottom: 10px;
}
.analytics-banner .btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* ---- FOOTER COMPACTO ---- */
.site-footer {
  padding-top: 14px;
  padding-bottom: 6px;
}
.footer-links {
  gap: 8px;
}
.footer-brand strong {
  font-size: 0.82rem;
  margin-bottom: 3px;
}
.footer-brand p {
  font-size: 0.62rem;
  line-height: 1.35;
  max-width: 200px;
}
.footer-social {
  margin-top: 4px;
  gap: 4px;
}
.footer-social a {
  width: 22px;
  height: 22px;
}
.footer-social a svg {
  width: 11px;
  height: 11px;
}
.footer-col h4 {
  margin-bottom: 4px;
  font-size: 0.52rem;
}
.footer-col nav {
  gap: 0;
}
.footer-col a {
  font-size: 0.62rem;
  min-height: 18px;
  display: block;
  align-items: normal;
}
.footer-contact-item {
  font-size: 0.62rem;
  gap: 3px;
}
.footer-contact-item svg {
  width: 10px;
  height: 10px;
  margin-top: 1px;
}
.footer-schedule p {
  font-size: 0.6rem;
  margin-bottom: 1px;
}
.footer-bottom {
  margin-top: 8px;
  padding-top: 5px;
  font-size: 0.55rem;
  gap: 3px;
  flex-wrap: wrap;
}
.footer-bottom p {
  line-height: 1.3;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 12px;
    padding-bottom: 4px;
  }
  .footer-links {
    gap: 6px;
  }
  .footer-brand p {
    font-size: 0.6rem;
    max-width: 100%;
  }
  .footer-col a {
    font-size: 0.6rem;
    min-height: 18px;
  }
  .footer-contact-item {
    font-size: 0.6rem;
  }
  .footer-schedule p {
    font-size: 0.58rem;
  }
  .footer-bottom {
    margin-top: 6px;
    padding-top: 4px;
    font-size: 0.52rem;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding-top: 10px;
  }
  .footer-links {
    gap: 4px;
  }
  .footer-col h4 {
    font-size: 0.48rem;
    margin-bottom: 2px;
  }
  .footer-col a {
    font-size: 0.55rem;
    min-height: 16px;
  }
}

/* ---- SIMULADOR — Más color, dorado, sombras y animaciones ---- */
.urbanova-finance-sim .uf-step.active {
  border-color: var(--gold, #C89B3C);
  background: linear-gradient(135deg, rgba(200,155,60,0.06), transparent);
  box-shadow: 0 4px 16px rgba(200,155,60,0.15);
  transform: scale(1.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.urbanova-finance-sim .uf-step.active span {
  background: var(--gold, #C89B3C);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200,155,60,0.3);
}
.urbanova-finance-sim .uf-step {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.urbanova-finance-sim .uf-step:hover {
  border-color: var(--gold-soft, rgba(200,155,60,0.3));
}
.urbanova-finance-sim .uf-step.active small {
  color: var(--gold, #C89B3C);
}
.urbanova-finance-sim .uf-metric {
  position: relative;
  background: linear-gradient(135deg, var(--cream-light, #FDF8F0), var(--white, #fff));
  border-left: 3px solid var(--gold, #C89B3C);
  border-radius: var(--radius-sm, 12px);
  padding: 16px 14px;
  box-shadow: 0 2px 8px rgba(200,155,60,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.urbanova-finance-sim .uf-metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #C89B3C), transparent);
  opacity: 0.4;
}
.urbanova-finance-sim .uf-metric.dark {
  background: linear-gradient(135deg, var(--navy, #071e2c), #0e2f44);
  border-left-color: var(--gold, #C89B3C);
}
.urbanova-finance-sim .uf-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,155,60,0.12);
}
.urbanova-finance-sim .uf-result {
  position: relative;
  background: linear-gradient(135deg, var(--cream-light, #FDF8F0), var(--white, #fff));
  border-left: 3px solid var(--gold, #C89B3C);
  border-radius: var(--radius-sm, 12px);
  padding: 16px 14px;
  box-shadow: 0 2px 8px rgba(200,155,60,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.urbanova-finance-sim .uf-result.status.is-good {
  background: linear-gradient(135deg, #166534, #22c55e) !important;
}
.urbanova-finance-sim .uf-result.status.is-review {
  background: linear-gradient(135deg, #92400e, #f59e0b) !important;
}
.urbanova-finance-sim .uf-result.status.is-limited {
  background: linear-gradient(135deg, #991b1b, #ef4444) !important;
}
.urbanova-finance-sim .uf-card {
  border: 1px solid rgba(200,155,60,0.15);
  box-shadow: 0 8px 30px rgba(200,155,60,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.urbanova-finance-sim .uf-summary {
  border-left: 3px solid var(--gold, #C89B3C);
  background: linear-gradient(135deg, var(--cream-light, #FDF8F0), var(--white, #fff));
  box-shadow: 0 2px 8px rgba(200,155,60,0.06);
}
.urbanova-finance-sim .uf-compare-card {
  border-left: 3px solid var(--gold, #C89B3C);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.urbanova-finance-sim .uf-compare-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(200,155,60,0.1);
}
.urbanova-finance-sim .form-field input:focus,
.urbanova-finance-sim .form-field select:focus,
.urbanova-finance-sim .form-field textarea:focus {
  border-color: var(--gold, #C89B3C);
  box-shadow: 0 0 0 3px rgba(200,155,60,0.12);
}
.urbanova-finance-sim .form-field label {
  color: var(--navy, #071e2c);
  font-weight: 600;
}
.urbanova-finance-sim .uf-card-head h3 {
  color: var(--gold-dark, #8B6F2A);
}
.urbanova-finance-sim .uf-step small {
  letter-spacing: 0.06em;
}

/* Animación de entrada para métricas */
@keyframes ufFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.urbanova-finance-sim .uf-metric,
.urbanova-finance-sim .uf-result,
.urbanova-finance-sim .uf-summary,
.urbanova-finance-sim .uf-compare-card {
  animation: ufFadeUp 0.45s ease both;
}
.urbanova-finance-sim .uf-metric:nth-child(1),
.urbanova-finance-sim .uf-result:nth-child(1) { animation-delay: 0.05s; }
.urbanova-finance-sim .uf-metric:nth-child(2),
.urbanova-finance-sim .uf-result:nth-child(2) { animation-delay: 0.10s; }
.urbanova-finance-sim .uf-metric:nth-child(3),
.urbanova-finance-sim .uf-result:nth-child(3) { animation-delay: 0.15s; }
.urbanova-finance-sim .uf-metric:nth-child(4),
.urbanova-finance-sim .uf-result:nth-child(4) { animation-delay: 0.20s; }
.urbanova-finance-sim .uf-metric:nth-child(5),
.urbanova-finance-sim .uf-result:nth-child(5) { animation-delay: 0.25s; }

/* ---- LEGAL CARD — Contacto de privacidad unificado ---- */
.legal-card.legal-accent {
  background: linear-gradient(135deg, rgba(200,155,60,0.08), rgba(200,155,60,0.02));
  border: 1px solid rgba(200,155,60,0.18);
  border-radius: var(--radius-md, 16px);
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 4px 24px rgba(200,155,60,0.08);
  margin-bottom: 0;
}
.legal-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold, #C89B3C);
  color: #fff;
  margin-bottom: 16px;
}
.legal-card-icon svg {
  width: 22px;
  height: 22px;
}
.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy, #071e2c);
}
.legal-card-desc {
  color: var(--muted, #64748B);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 640px;
}
.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.legal-card-item {
  background: var(--white, #fff);
  border: 1px solid rgba(200,155,60,0.12);
  border-radius: var(--radius-sm, 12px);
  padding: 14px 16px;
  border-left: 3px solid var(--gold, #C89B3C);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.legal-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(200,155,60,0.1);
}
.legal-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold, #C89B3C);
  margin-bottom: 4px;
}
.legal-card-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy, #071e2c);
  font-weight: 600;
  word-break: break-all;
}
.legal-card-item a {
  color: var(--gold, #C89B3C);
  text-decoration: underline;
  font-weight: 600;
}
.legal-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(200,155,60,0.12);
}
.legal-card-actions .btn-secondary {
  background: var(--white, #fff);
  border-color: var(--gold, #C89B3C);
  color: var(--gold, #C89B3C);
}
.legal-card-actions .btn-secondary:hover {
  background: rgba(200,155,60,0.06);
}
@media (max-width: 640px) {
  .legal-card.legal-accent {
    padding: 24px 18px 20px;
  }
  .legal-card-grid {
    grid-template-columns: 1fr;
  }
  .legal-card-actions {
    flex-direction: column;
  }
  .legal-card-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- CTA UPPERCASE — Texto destacado ---- */
.cta-uppercase {
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ---- FOOTER — Iconos dorados en contacto ---- */
.footer-contact .icon-gold {
  color: var(--gold, #C89B3C);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
