/* ============================================================
   InfoMultas — main.css
   Mobile-first, CSS variables, semantic classes
   ============================================================ */

:root {
  --blue-950: #062b43;
  --blue-900: #083d5d;
  --blue-800: #0b4f78;
  --blue-700: #0e679c;
  --blue-600: #137abb;
  --red:      #c50b14;
  --red-dark: #a70810;
  --green:    #16a34a;
  --yellow:   #fbbf24;
  --text:     #102033;
  --muted:    #657386;
  --line:     #dbe5ef;
  --soft:     #f4f8fb;
  --white:    #fff;
  --shadow:   0 24px 60px rgba(6,43,67,.22);
  --radius:   18px;
}

*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: #fff; line-height: 1.45; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; }

.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

/* ── Header ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219,229,239,.8);
  box-shadow: 0 4px 22px rgba(8,61,93,.08);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand       { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue-900); }
.brand-mark  { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); display: grid; place-items: center; color: #fff; font-weight: 900; letter-spacing: -.04em; box-shadow: 0 10px 25px rgba(8,61,93,.22); flex-shrink: 0; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: -2px; }

.navlinks { display: flex; align-items: center; gap: 22px; font-size: 14px; color: #4b5b6f; font-weight: 600; }
.nav-cta  { background: var(--red); color: #fff; padding: 11px 16px; border-radius: 10px; font-weight: 800; box-shadow: 0 10px 20px rgba(197,11,20,.22); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(19,122,187,.9), transparent 30%),
              linear-gradient(135deg, #0b5f92 0%, #083d5d 48%, #062b43 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.04)),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'%3E%3Cpath d='M0 20h120M0 60h120M0 100h120M20 0v120M60 0v120M100 0v120'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.85fr);
  gap: 48px; align-items: center;
  min-height: 660px; padding: 58px 0 60px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 800; margin-bottom: 20px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #35e482; box-shadow: 0 0 0 6px rgba(53,228,130,.16); }

h1 { font-size: clamp(32px,5vw,54px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -.04em; color: #fff; }

.hero-copy   { font-size: clamp(17px,2vw,21px); max-width: 610px; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.hero-badge  { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; }
.hero-badge b { color: #7df0a9; }

.mini-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; max-width: 650px; margin-top: 28px; }
.mini-step  { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px; }
.mini-step span    { display: grid; place-items: center; width: 28px; height: 28px; background: #fff; color: var(--blue-900); border-radius: 50%; font-size: 13px; font-weight: 900; margin-bottom: 9px; }
.mini-step strong  { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.mini-step p       { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

/* ── Form ────────────────────────────────────────────────── */
.form-shell { background: #fff; border-radius: 22px; padding: 8px; box-shadow: var(--shadow); }
.form-card  { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid rgba(219,229,239,.8); }

.form-title   { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.form-title h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; color: var(--blue-950); }
.form-title p  { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.price        { background: #ecf7ff; color: var(--blue-900); border: 1px solid #cae8fb; border-radius: 14px; padding: 9px 12px; text-align: right; white-space: nowrap; }
.price strong { font-size: 20px; }
.price small  { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }

.input-group { margin-bottom: 13px; position: relative; }
label        { display: block; font-size: 13px; font-weight: 800; color: #334155; margin-bottom: 7px; }

.input {
  width: 100%; height: 58px; border: 2px solid var(--line); border-radius: 13px;
  padding: 0 48px 0 16px; font-size: 17px; font-weight: 700; color: var(--text);
  outline: 0; transition: .2s; background: #fff; text-transform: uppercase;
}
.input.email       { text-transform: none; font-weight: 600; }
.input.cuit        { text-transform: none; }
.input::placeholder { font-weight: 600; color: #91a0b2; text-transform: none; }
.input:focus       { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(19,122,187,.15); }
.valid .input      { border-color: var(--green); }

.check { position: absolute; right: 15px; top: 39px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: none; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; }
.valid .check { display: flex; }

.field-help  { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field-error { display: none; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; border-radius: 9px; font-size: 12px; font-weight: 700; padding: 8px 10px; margin-top: 8px; }
.input-group.error .field-error { display: block; }

.hidden-field { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(-6px); transition: all .32s ease; margin-bottom: 0; }
.hidden-field.visible { opacity: 1; max-height: 200px; transform: translateY(0); margin-bottom: 13px; }

.terms       { font-size: 12px; color: #4b5b6f; display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; margin: 6px 0 14px; }
.terms input { margin-top: 2px; accent-color: var(--blue-700); }
.terms a     { color: var(--blue-700); font-weight: 800; text-decoration: underline; }

.pay-btn {
  width: 100%; height: 58px; border: 0; border-radius: 13px;
  background: var(--red); color: #fff; font-size: 18px; font-weight: 900; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 16px 26px rgba(197,11,20,.24); transition: .2s;
}
.pay-btn:hover    { background: var(--red-dark); transform: translateY(-1px); }
.pay-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.form-trust { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 15px; font-size: 12px; color: #5f6f82; font-weight: 700; }

.notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; color: #7c4a03; padding: 11px 13px; margin-top: 16px; font-size: 12px; line-height: 1.45; }

.why-box       { margin-top: 22px; border-radius: 18px; background: #f4f8fb; border: 1px solid #cae8fb; padding: 20px 22px; }
.why-box-title { margin: 0 0 10px; font-size: 15px; font-weight: 900; color: var(--blue-900); }
.why-box-body  { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 70px 0; }

.section-title      { text-align: center; margin: 0 auto 38px; max-width: 760px; }
.section-title h2   { font-size: clamp(28px,4vw,38px); margin: 0 0 10px; color: var(--blue-950); letter-spacing: -.035em; }
.section-title p    { margin: 0; color: var(--muted); font-size: 17px; }

.features  { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature   { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; box-shadow: 0 10px 28px rgba(8,61,93,.06); }
.icon      { width: 46px; height: 46px; border-radius: 13px; background: #ecf7ff; color: var(--blue-800); display: grid; place-items: center; font-size: 22px; margin-bottom: 13px; }
.feature h3 { margin: 0 0 8px; color: var(--blue-950); font-size: 19px; }
.feature p  { margin: 0; color: var(--muted); font-size: 14px; }

.how { background: var(--soft); }
.timeline      { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.timeline-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.num           { width: 38px; height: 38px; background: var(--blue-800); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 900; margin-bottom: 14px; }
.timeline-card h3 { margin: 0 0 8px; }
.timeline-card p  { margin: 0; color: var(--muted); }

.proof { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; }
.proof .section-title h2,
.proof .section-title p { color: #fff; }
.stats  { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat   { text-align: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 24px; }
.stat strong { font-size: 32px; display: block; }
.stat span   { font-size: 13px; color: rgba(255,255,255,.78); }

.faq          { max-width: 860px; margin: auto; }
.faq details  { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq summary  { cursor: pointer; padding: 18px 20px; font-weight: 900; color: var(--blue-950); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue-700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ── Trust / Compliance bar ─────────────────────────────── */
.legal { background: #f8fafc; border-top: 1px solid var(--line); padding: 34px 0; color: #5c6b7d; font-size: 12px; }
.legal p { max-width: 980px; margin: 0 auto 10px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer     { background: #061f31; color: #d7e7f1; padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer small { color: #9bb2c1; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #9bb2c1; }
.footer-links a:hover { color: #fff; }

/* ── Floating CTA (mobile) ───────────────────────────────── */
.floating-cta { display: none; }

/* ── Utility ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Inner pages ─────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: #fff; padding: 60px 0 50px;
}
.page-hero h1 { font-size: clamp(26px,4vw,40px); margin: 0 0 10px; }
.page-hero p  { color: rgba(255,255,255,.8); margin: 0; font-size: 17px; }

.page-content { max-width: 820px; margin: 50px auto; padding: 0 16px 60px; }
.page-content h2 { color: var(--blue-950); margin: 32px 0 10px; }
.page-content p, .page-content li { color: var(--muted); line-height: 1.7; }
.page-content ul { padding-left: 20px; }
.page-content a  { color: var(--blue-700); text-decoration: underline; }

/* ── Thank-you / Status pages ───────────────────────────── */
.status-wrap   { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.status-card   { max-width: 560px; width: 100%; background: #fff; border-radius: 24px; padding: 40px 36px; box-shadow: var(--shadow); text-align: center; }
.status-icon   { font-size: 56px; margin-bottom: 16px; }
.status-card h1 { font-size: 28px; color: var(--blue-950); margin: 0 0 12px; }
.status-card p  { color: var(--muted); margin: 0 0 24px; }
.btn-primary   { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-800); color: #fff; padding: 14px 24px; border-radius: 12px; font-weight: 800; font-size: 16px; transition: .2s; }
.btn-primary:hover { background: var(--blue-900); transform: translateY(-1px); }
.btn-red   { background: var(--red); box-shadow: 0 12px 24px rgba(197,11,20,.2); }
.btn-red:hover { background: var(--red-dark); }

/* ── Contacto ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { color: var(--blue-950); margin: 0 0 8px; }
.contact-info p  { color: var(--muted); margin: 0 0 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%; border: 2px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 15px; font-family: inherit;
  color: var(--text); outline: 0; transition: .2s; margin-bottom: 12px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(19,122,187,.12); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button  {
  width: 100%; height: 52px; background: var(--blue-800); color: #fff;
  border: 0; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; transition: .2s;
}
.contact-form button:hover { background: var(--blue-900); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .navlinks { display: none; }

  .hero-inner {
    display: flex; flex-direction: column;
    gap: 14px; min-height: auto; padding: 16px 0 30px;
  }
  .hero-text  { display: contents; }
  .eyebrow    { order: 1; display: flex; width: max-content; margin-inline: auto; margin-bottom: 0; }
  h1          { order: 2; text-align: center; margin-bottom: 0; font-size: 28px; }
  .form-shell { order: 3; width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-copy  { order: 4; text-align: center; margin-inline: auto; margin-top: 4px; }
  .hero-badges { order: 5; justify-content: center; margin: 6px 0 4px; }
  .mini-steps  { order: 6; grid-template-columns: 1fr; width: 100%; max-width: 520px; margin: 6px auto 0; }

  .features, .timeline, .stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .form-title    { display: block; }
  .form-title h2 { white-space: nowrap; }
  .price         { text-align: left; margin-top: 12px; width: max-content; }
  .footer-row { display: block; text-align: center; }
  .footer-links { justify-content: center; margin-top: 12px; }

  .floating-cta {
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40;
    display: flex; align-items: center; justify-content: center;
    height: 52px; border-radius: 13px; background: var(--red);
    color: #fff; font-weight: 900; box-shadow: 0 12px 30px rgba(0,0,0,.25);
    font-size: 16px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .floating-cta.cta-visible {
    opacity: 1; pointer-events: auto;
  }
}
