/* =====================================================================
   Cuentas de 6C IA. Mismos tokens, header y footer que 6cias.com.
   ===================================================================== */
:root {
  --bg: #061014; --bg-2: #0a171c; --surface: #0d1d22; --surface-2: #10262b; --surface-3: #143037;
  --ink: #f4fbfb; --muted: #a7bec1; --brand: #008389; --brand-2: #83d8d5; --brand-dark: #555569;
  --line: rgba(176, 234, 232, .14); --line-strong: rgba(176, 234, 232, .28);
  --success: #8ee4bd; --warning: #f0cf84; --danger: #ffb4a8;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius: 22px; --radius-sm: 14px; --max: 1180px;
  --font: "6CIAS Montserrat", Montserrat, "Segoe UI", Arial, sans-serif;
  --serif: "6CIAS Aparajita", Georgia, serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; letter-spacing: -.01em }
a { color: inherit; text-decoration: none }
button, input { font: inherit }
img { display: block; max-width: 100% }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--brand-2); color: #052025; font-weight: 800; transform: translateY(-160%) }
.skip-link:focus { transform: translateY(0) }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 4px }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin-top: 0 }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; color: var(--brand-2); margin-bottom: 20px }
.eyebrow:before { content: ""; width: 22px; height: 1px; background: var(--brand-2) }

/* Botones (iguales al sitio principal) */
.btn { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 760; cursor: pointer; transition: .2s ease }
.btn:hover { transform: translateY(-2px) }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #031b1d; box-shadow: 0 10px 34px rgba(0, 131, 137, .24) }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .02); color: #e9f6f6 }
.btn--danger { border-color: rgba(255, 180, 168, .45); background: rgba(255, 120, 100, .1); color: var(--danger) }
.btn--small { min-height: 42px; padding-inline: 17px; font-size: 14px }
.btn--block { width: 100% }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none }

/* Topbar + header (idénticos a 6cias.com) */
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .055); background: #071216; color: #93aaad; font-size: 12px }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px }
.topbar-links { display: flex; gap: 18px; white-space: nowrap; margin-left: auto }
.topbar-links a:hover { color: #fff }
.topbar-domain { color: var(--brand-2); font-weight: 760; letter-spacing: .04em }
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(6, 16, 20, .84); border-bottom: 1px solid rgba(255, 255, 255, .065) }
.nav { height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 30px }
.brand { display: flex; align-items: center; gap: 16px; min-width: 170px }
.brand-mark { width: 150px; height: 150px; object-fit: contain }
.menu { display: flex; align-items: center; gap: 24px; font-size: 14px; color: #c8d8da }
.menu a { padding: 10px 0; position: relative }
.menu a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 1px; background: var(--brand-2); transition: .2s }
.menu a:hover:after { right: 0 }
.menu a:hover { color: #fff }
.nav-actions { display: flex; align-items: center; gap: 10px }
.menu-toggle { display: none; border: 1px solid var(--line-strong); background: none; color: #fff; border-radius: 10px; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; cursor: pointer }

/* =====================================================================
   Zona de cuenta
   ===================================================================== */
.a-section { position: relative; flex: 1; overflow: hidden; padding: 72px 0 104px; background: radial-gradient(ellipse 55% 60% at 75% 30%, rgba(0, 131, 137, .15), transparent 70%), var(--bg) }
.a-section:before { content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%); mask-image: linear-gradient(to bottom, black, transparent 85%) }
.a-section > .container { position: relative }

/* Dos columnas: texto a la izquierda, tarjeta a la derecha */
.a-split { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 72px; align-items: start }
.a-intro { padding-top: 18px; max-width: 560px }
.a-intro h1 { font-size: clamp(44px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; margin-bottom: 22px }
.a-intro p { font-size: 18px; line-height: 1.62; color: #c3d3d5; margin: 0 0 28px }
.a-pills { display: flex; flex-wrap: wrap; gap: 8px }
.a-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #a9c1c3; font-size: 12px; background: rgba(255, 255, 255, .02) }
.a-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line) }
.a-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line) }
.a-steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 131, 137, .14); border: 1px solid rgba(144, 240, 230, .2); color: var(--brand-2); font-size: 13px }
.a-steps strong { display: block; font-size: 15px; margin-bottom: 2px }
.a-steps span { color: var(--muted); font-size: 14px }

/* Una columna centrada (confirmaciones) */
.a-single { display: grid; place-items: center }

/* Tarjeta */
.a-card { width: 100%; padding: 38px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16, 38, 43, .92), rgba(11, 23, 27, .92)); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px) }
.a-single .a-card { max-width: 520px; text-align: left }
.a-card h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 10px }
.a-card__lead { color: var(--muted); margin: 0 0 26px; font-size: 15px; line-height: 1.6 }
.a-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: rgba(0, 131, 137, .12); border: 1px solid rgba(144, 240, 230, .17); color: var(--brand-2) }
.a-icon svg { width: 26px; height: 26px }
.a-icon--ok { color: var(--success); border-color: rgba(142, 228, 189, .3); background: rgba(142, 228, 189, .08) }
.a-icon--danger { color: var(--danger); border-color: rgba(255, 180, 168, .3); background: rgba(255, 120, 100, .08) }

/* Formularios */
.a-field { margin-bottom: 18px }
.a-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: #dcebec }
.a-field input[type=text], .a-field input[type=email], .a-field input[type=password] { width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s }
.a-field input::placeholder { color: #6e9296 }
.a-field input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(131, 216, 213, .16) }
.a-field input[aria-invalid=true] { border-color: rgba(240, 207, 132, .6) }
.a-field--check { display: flex; gap: 10px; align-items: flex-start }
.a-field--check label { margin: 0; font-weight: 500; font-size: 14px; color: var(--muted) }
.a-field--check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand) }
.a-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px }
.a-help { font-size: 12px; color: #7f9a9d; margin-top: 6px; line-height: 1.5 }
.a-help a, .a-card__lead a, .a-link { color: var(--brand-2); font-weight: 650 }
.a-help a:hover, .a-link:hover { color: #fff }
.a-errors { list-style: none; margin: 7px 0 0; padding: 0; font-size: 13px; color: var(--warning) }
.a-errors--form { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(240, 207, 132, .4); border-radius: var(--radius-sm) }
.a-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 20px; font-size: 14px; color: var(--muted) }
.a-divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0 }
.a-actions { display: grid; gap: 10px; margin-top: 26px }
.a-actions form { margin: 0 }

/* Mensajes */
.a-msgs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px }
.a-msg { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: #dcebec }
.a-msg--error { border-color: rgba(240, 207, 132, .45); color: var(--warning) }
.a-msg--success { border-color: rgba(142, 228, 189, .4); color: var(--success) }

/* Datos de la cuenta */
.a-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line) }
.a-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px }
.a-list li span:first-child { color: var(--muted) }
.a-list li span:last-child { text-align: right; overflow-wrap: anywhere }
.a-danger-zone { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted) }
.a-danger-zone a { color: var(--danger); font-weight: 650 }

/* Footer (igual al sitio principal) */
.site-footer { padding: 70px 0 32px; background: #f4fbfb; color: #008387 }
.site-footer .brand-mark { width: 120px; height: 120px }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; margin-bottom: 46px }
.footer-brand p { color: #008387; max-width: 390px; font-size: 13px; margin-top: 16px }
.footer-col h4 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: #008387; margin: 0 0 16px; font-weight: 750 }
.footer-col a { display: block; color: #008387; font-size: 13px; margin: 9px 0 }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 24px 0; border-top: 1px solid #d6e5e4 }
.social-link { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #008387; border: 1px solid rgba(0, 131, 135, .28); font-family: Arial, sans-serif; font-weight: 800; line-height: 1; transition: .2s ease }
.social-link:hover, .social-link:focus-visible { color: #f4fbfb; background: #008387 }
.privacy-link { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 7px 13px; border: 1px solid rgba(0, 131, 135, .28); border-radius: 999px; color: #008387; font-size: 12px; font-weight: 700 }
.privacy-link:hover, .privacy-link:focus-visible { color: #f4fbfb; background: #008387 }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid #d6e5e4; font-size: 12px; color: #008387 }

/* =====================================================================
   Responsive (mismos cortes que 6cias.com)
   ===================================================================== */
@media (max-width: 1000px) {
  .menu { display: none; position: absolute; top: 145px; left: 14px; right: 14px; flex-direction: column; gap: 18px; padding: 24px; max-height: calc(100vh - 110px); overflow-y: auto; background: #0b1c21; border: 1px solid rgba(176, 234, 232, .18); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35) }
  .menu.active { display: flex }
  .menu-toggle { display: inline-flex }
  .nav-actions .btn--ghost { display: none }
  .a-split { grid-template-columns: 1fr; gap: 36px }
  .a-split .a-card { max-width: 560px }
  .a-intro { padding-top: 0 }
  .footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)) }
  .topbar { display: none }
  .nav-actions .btn--primary { display: none }
  .a-section { padding: 40px 0 72px }
  .a-split { gap: 22px }
  .a-intro h1 { font-size: 40px; margin-bottom: 0 }
  .a-intro p, .a-pills, .a-steps { display: none }  /* en móvil, el formulario primero */
  .a-card { padding: 26px 20px }
  .a-card h2 { font-size: 30px }
  .a-row { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr }
  .footer-bottom { flex-direction: column; align-items: flex-start }
  .privacy-link { margin-left: 0 }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .btn:hover { transform: none }
}
