/* ==========================================================================
   Greetik Automatiza – estilos independientes.
   El resto de vistas del sitio no lo cargan, asi que podemos permitirnos
   una estetica mas "producto" sin arrastrar al tema Acme legacy.
   ========================================================================== */

.aut-scope {
  --aut-primary: #0d6efd;
  --aut-primary-dark: #0846a6;
  --aut-accent: #16a34a;
  --aut-bg: #f6f8fc;
  --aut-surface: #ffffff;
  --aut-text: #1f2937;
  --aut-muted: #6b7280;
  --aut-border: #e5e7eb;
  --aut-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --aut-radius: 14px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--aut-text);
  background: var(--aut-bg);
  line-height: 1.55;
  font-size: 16px;
}

.aut-scope * { box-sizing: border-box; }
.aut-scope img { max-width: 100%; height: auto; }

.aut-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.aut-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(13, 110, 253, 0.10), transparent 60%),
    radial-gradient(900px 400px at 0% 20%, rgba(22, 163, 74, 0.08), transparent 60%),
    var(--aut-bg);
  text-align: center;
}

.aut-eyebrow {
  display: inline-block;
  background: rgba(13, 110, 253, 0.10);
  color: var(--aut-primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.aut-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #0f172a;
}

.aut-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--aut-muted);
  max-width: 760px;
  margin: 0 auto 28px;
}

.aut-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.aut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.aut-btn-primary {
  background: var(--aut-primary);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}
.aut-btn-primary:hover { background: var(--aut-primary-dark); transform: translateY(-1px); }

.aut-btn-ghost {
  background: transparent;
  color: var(--aut-primary) !important;
  border-color: var(--aut-primary);
}
.aut-btn-ghost:hover { background: rgba(13, 110, 253, 0.08); }

.aut-btn-secondary {
  background: #fff;
  color: var(--aut-text) !important;
  border-color: var(--aut-border);
}
.aut-btn-secondary:hover { border-color: #94a3b8; }

.aut-badges {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--aut-muted);
  font-size: 14px;
}
.aut-badges span { display: inline-flex; align-items: center; gap: 6px; }
.aut-badges i { color: var(--aut-accent); }

/* --- Bloques de contenido genericos --- */
.aut-section { padding: 56px 0; }
.aut-section-alt { background: #fff; }
.aut-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}
.aut-section-lead { color: var(--aut-muted); max-width: 780px; margin: 0 auto 32px; text-align: center; }

.aut-grid { display: grid; gap: 20px; }
.aut-grid-3 { grid-template-columns: repeat(3, 1fr); }
.aut-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .aut-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .aut-grid-2 { grid-template-columns: 1fr; } }

.aut-card {
  background: var(--aut-surface);
  border: 1px solid var(--aut-border);
  border-radius: var(--aut-radius);
  padding: 24px;
  box-shadow: var(--aut-shadow);
}
.aut-card h3 { margin: 0 0 10px; font-size: 18px; color: #0f172a; }
.aut-card p { margin: 0; color: var(--aut-muted); }
.aut-card .aut-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(13, 110, 253, 0.10);
  color: var(--aut-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 18px;
}

/* --- FAQ --- */
.aut-faq {
  background: #fff;
  border: 1px solid var(--aut-border);
  border-radius: var(--aut-radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.aut-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
  list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.aut-faq summary::-webkit-details-marker { display: none; }
.aut-faq summary::after { content: "+"; color: var(--aut-primary); font-size: 22px; line-height: 1; }
.aut-faq[open] summary::after { content: "-"; }
.aut-faq p { margin: 12px 0 0; color: var(--aut-muted); }

/* --- Wizard --- */
.aut-wizard {
  padding: 40px 0 80px;
}
.aut-wizard-shell {
  max-width: 780px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--aut-border);
  border-radius: var(--aut-radius);
  box-shadow: var(--aut-shadow);
  overflow: hidden;
}
.aut-progress {
  height: 6px; background: #eef2f7; position: relative;
}
.aut-progress-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--aut-primary), var(--aut-accent));
  width: 0%; transition: width 0.35s ease;
}
.aut-wizard-header {
  padding: 20px 28px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.aut-wizard-header .aut-step-info {
  font-size: 13px; color: var(--aut-muted); letter-spacing: 0.02em; text-transform: uppercase;
}
.aut-wizard-header .aut-step-count { font-weight: 600; color: #0f172a; }

.aut-step { padding: 28px; display: none; }
.aut-step.is-active { display: block; }
.aut-step h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 6px; color: #0f172a; font-weight: 700;
}
.aut-step .aut-step-hint {
  color: var(--aut-muted); margin: 0 0 22px; font-size: 15px;
}
.aut-step .aut-multi-hint { font-size: 13px; color: var(--aut-muted); margin: -14px 0 16px; }

.aut-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .aut-options { grid-template-columns: 1fr; } }
.aut-options.is-single-col { grid-template-columns: 1fr; }

.aut-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--aut-border);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease;
  font-size: 15px;
}
.aut-option:hover { border-color: #94a3b8; }
.aut-option input { position: absolute; opacity: 0; pointer-events: none; }
.aut-option .aut-mark {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #cbd5e1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.aut-option[data-type="checkbox"] .aut-mark { border-radius: 6px; }
.aut-option.is-selected {
  border-color: var(--aut-primary);
  background: rgba(13, 110, 253, 0.06);
}
.aut-option.is-selected .aut-mark {
  border-color: var(--aut-primary);
  background: var(--aut-primary);
}
.aut-option.is-selected .aut-mark::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.aut-option[data-type="checkbox"].is-selected .aut-mark::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg); margin-top: -3px; background: transparent; border-radius: 0;
}

.aut-textarea {
  width: 100%;
  border: 1.5px solid var(--aut-border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  min-height: 130px;
  resize: vertical;
  font-family: inherit;
}
.aut-textarea:focus { border-color: var(--aut-primary); outline: none; }

.aut-input {
  width: 100%; border: 1.5px solid var(--aut-border); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
}
.aut-input:focus { border-color: var(--aut-primary); outline: none; }

.aut-field { margin-bottom: 14px; }
.aut-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #0f172a; }
.aut-field .aut-help { color: var(--aut-muted); font-size: 13px; margin-top: 4px; }

.aut-wizard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; border-top: 1px solid #f1f5f9; background: #fbfdff;
  gap: 10px;
}
.aut-error {
  color: #b91c1c; font-size: 14px; padding: 0 28px 12px; display: none;
}
.aut-error.is-visible { display: block; }

/* --- Resultado --- */
.aut-result-hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(1000px 400px at 100% 0%, rgba(22, 163, 74, 0.10), transparent 60%),
    var(--aut-bg);
}
.aut-result-title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin: 0 0 6px; color: #0f172a; }
.aut-result-sub { color: var(--aut-muted); margin: 0 0 24px; max-width: 720px; }

.aut-metric-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 12px;
}
@media (max-width: 800px) { .aut-metric-grid { grid-template-columns: 1fr; } }

.aut-metric {
  background: #fff; border: 1px solid var(--aut-border); border-radius: var(--aut-radius);
  padding: 22px 24px; box-shadow: var(--aut-shadow);
}
.aut-metric .aut-metric-label { color: var(--aut-muted); font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; }
.aut-metric .aut-metric-value { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #0f172a; margin: 6px 0 4px; }
.aut-metric .aut-metric-hint { color: var(--aut-muted); font-size: 13px; }

.aut-score-ring {
  --pct: 0;
  --ring-color: var(--aut-primary);
  width: 120px; height: 120px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--ring-color) calc(var(--pct) * 1%), #e5edf9 0);
  position: relative;
}
.aut-score-ring::before {
  content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%;
}
.aut-score-ring span { position: relative; font-size: 26px; font-weight: 800; color: #0f172a; }
.aut-score-ring small { position: relative; font-size: 13px; color: var(--aut-muted); font-weight: 600; margin-left: 2px; }

.aut-process-card { border-left: 4px solid var(--aut-primary); }
.aut-process-card h3 { margin-bottom: 6px; }
.aut-process-card .aut-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(13, 110, 253, 0.10); color: var(--aut-primary-dark); margin-bottom: 12px;
}
.aut-process-card .aut-solution { color: #0f172a; font-weight: 500; margin-top: 12px; }

.aut-callout {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff; border-radius: var(--aut-radius); padding: 34px; box-shadow: var(--aut-shadow);
}
.aut-callout h3 { color: #fff; margin: 0 0 10px; font-size: 22px; }
.aut-callout p { color: #cbd5e1; margin: 0 0 20px; }
.aut-callout .aut-btn-primary { background: #fff; color: #0f172a !important; box-shadow: none; }
.aut-callout .aut-btn-primary:hover { background: #e2e8f0; }

.aut-lead-form {
  background: #fff; border: 1px solid var(--aut-border); border-radius: var(--aut-radius);
  padding: 28px; box-shadow: var(--aut-shadow);
}
.aut-lead-form h3 { margin: 0 0 6px; color: #0f172a; }
.aut-lead-form .aut-sub { color: var(--aut-muted); margin: 0 0 18px; }
.aut-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .aut-lead-grid { grid-template-columns: 1fr; } }
.aut-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--aut-muted); }
.aut-checkbox input { margin-top: 4px; }

.aut-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
@media (max-width: 700px) { .aut-summary { grid-template-columns: 1fr; } }
.aut-summary dt { font-weight: 600; color: #0f172a; font-size: 14px; }
.aut-summary dd { margin: 0 0 8px; color: var(--aut-muted); font-size: 14px; }

.aut-alert {
  padding: 14px 18px; border-radius: 12px; margin: 18px 0;
  background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534;
}

.aut-honeypot { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --- Sector --- */
.aut-list { list-style: none; padding: 0; margin: 0; }
.aut-list li {
  padding: 12px 0 12px 26px; position: relative; color: var(--aut-text);
  border-bottom: 1px solid var(--aut-border);
}
.aut-list li:last-child { border-bottom: 0; }
.aut-list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--aut-primary);
}
