﻿/* Hallmark · component: cotizador · genre: boutique-operational · theme: existing LUM360 dark/gold tokens */
html,
body {
  overflow-x: clip;
}
/* ── Cotización page: hero compacto ── */
#cot-hero {
  min-height: 38vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 72px;
}
.cot-hero-aura {
  position: absolute; top: -10%; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 100vw); height: min(560px, 100vw);
  background: radial-gradient(ellipse at center,
    rgba(212,175,55,0.14) 0%,
    rgba(212,175,55,0.04) 40%,
    transparent 70%);
  pointer-events: none; z-index: 0;
  animation: aura-expand 2.5s ease-out forwards;
}
.cot-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.65) 100%);
  pointer-events: none; z-index: 1;
}
.cot-hero-content {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px 56px;
}
.cot-hero-content .section-label { margin-bottom: 16px; }
.cot-hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--color-text);
  max-width: 680px;
  margin-bottom: 16px;
  opacity: 0;
  animation: hero-title-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.cot-hero-content h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--color-gold);
}
.cot-hero-content p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  animation: fade-up 0.9s ease 0.55s forwards;
}
@media (max-width: 768px) {
  .cot-hero-content { padding: 0 24px 40px; }
  #cot-hero { min-height: 32vh; }
}

/* ── Área central del formulario ── */
#cot-main {
  padding: 72px 0 96px;
  position: relative;
}
#cot-main::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100vw); height: 300px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cot-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Cotizador card (inline, no modal) ── */
.cotizador-page-card {
  background: var(--color-surface);
  border: 1px solid rgba(212,175,55,0.15);
  padding: 52px 48px;
  position: relative;
  animation: modal-in 0.4s ease forwards;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (max-width: 640px) {
  .cotizador-page-card { padding: 36px 24px; }
}

/* ── Reutiliza .step-progress, .step-progress-bar, .step-meta,
       .step-title, .step-subtitle, .selection-grid, .selection-card,
       .service-sel-grid, .service-sel-card, .form-group, .form-label,
       .form-input, .step-nav, .btn-prev, .step-dots, .step-dot,
       .success-screen, .success-check, .success-title, .success-sub
       — todos ya definidos en style.css ── */

/* ── Canvas de partículas ── */
#web-particles-cot {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: screen;
}

/* ── Voz LUM360: intro, microcopy, glosario y avisos ── */
.cot-intro {
  font-size: 13px; line-height: 1.65; color: var(--color-muted);
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.cot-intro strong { color: var(--color-text); font-weight: 600; }

.helper-text {
  font-size: 14px; line-height: 1.65; color: rgba(232,232,232,0.74);
  margin: 0 0 24px;
}
.helper-text a { color: var(--color-gold); text-decoration: none; }
.helper-text a:hover { text-decoration: underline; }

.step-title { letter-spacing: 0; }
.step-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(232,232,232,0.76);
}
.form-label {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(232,232,232,0.88);
}
.form-input {
  font-size: 15px;
  line-height: 1.4;
}
.selection-grid,
.service-sel-grid {
  gap: 10px;
}
.selection-card,
.service-sel-card {
  min-height: 52px;
  padding: 14px 16px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
}
.selection-card .option-title,
.service-sel-card .svc-name {
  display: block;
  color: var(--color-text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}
.selection-card .option-desc,
.service-sel-card .svc-desc {
  display: block;
  margin-top: 5px;
  color: rgba(232,232,232,0.68);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}
.service-sel-card {
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.service-sel-card svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.selection-card.selected .option-desc,
.service-sel-card.selected .svc-desc {
  color: rgba(255,255,255,0.82);
}

/* Términos con explicación (tooltip) y enlace opcional al blog */
.term-link {
  position: relative; color: var(--color-gold); text-decoration: none;
  border-bottom: 1px dotted rgba(212,175,55,0.5); cursor: help;
  white-space: normal;
}
a.term-link { cursor: pointer; }
.term-link .tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: 240px; padding: 10px 12px;
  background: #161616; border: 1px solid rgba(212,175,55,0.25);
  color: var(--color-text); font-size: 12px; line-height: 1.5;
  font-style: normal; font-weight: 400; text-align: left; white-space: normal;
  border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60; pointer-events: none;
}
.term-link:hover .tooltip,
.term-link:focus .tooltip,
.term-link:focus-within .tooltip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
@media (max-width: 640px) {
  .term-link .tooltip { display: none; }
}

/* Aviso de proyecto grande / propuesta personalizada */
.cot-notice {
  margin: 0 0 28px; padding: 16px 18px;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.22);
  border-left: 2px solid var(--color-gold);
}
.cot-notice strong {
  display: block; color: var(--color-gold); font-weight: 600;
  font-size: 13px; margin-bottom: 6px; letter-spacing: 0.01em;
}
.cot-notice p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(232,232,232,0.74); }
.cot-notice p + p { margin-top: 8px; }
.large-reasons {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(232,232,232,0.74);
  font-size: 13px;
  line-height: 1.5;
}
.qualification-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212,175,55,0.12);
}
.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.submit-actions .btn-gold {
  min-height: 44px;
}
.cot-validation {
  margin-top: 14px;
  color: #f0cf72;
  font-size: 13px;
  line-height: 1.5;
  display: none;
}
.cot-validation.is-visible {
  display: block;
  padding: 12px 14px;
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.2);
  border-left: 2px solid var(--color-gold);
}
.cot-validation.is-error {
  color: #ffd5d5;
  background: rgba(182,66,66,0.09);
  border-color: rgba(255,124,124,0.25);
  border-left-color: #ff8c8c;
}
.cot-validation.is-success {
  color: #d8efc8;
  background: rgba(114,164,84,0.09);
  border-color: rgba(156,206,126,0.25);
  border-left-color: #9cce7e;
}
.form-input[aria-invalid="true"] {
  border-color: rgba(255,124,124,0.75);
  box-shadow: 0 0 0 2px rgba(255,124,124,0.08);
}
.cot-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.captcha-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(212,175,55,0.12);
}
.hcaptcha-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hcaptcha-help,
.privacy-microcopy {
  margin: 10px 0 0;
  color: rgba(232,232,232,0.64);
  font-size: 12px;
  line-height: 1.55;
}
.privacy-microcopy {
  margin-top: 18px;
}
.privacy-microcopy a,
.submit-fallback a {
  color: var(--color-gold);
}
.submit-fallback {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.submit-fallback.is-visible {
  display: block;
}
.btn-gold[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
}
@media (max-width: 640px) {
  .helper-text { font-size: 13.5px; }
  .selection-grid,
  .service-sel-grid { grid-template-columns: 1fr !important; }
  .selection-card,
  .service-sel-card { padding: 13px 14px; }
  .submit-actions { width: 100%; }
  .submit-actions .btn-gold { width: 100%; justify-content: center; }
  .hcaptcha-shell { transform-origin: left top; }
}

