/* Landings de webs para negocios de DeepSoul. El mismo mundo que deepsoul.group: negro, cristal, rejilla
   y el degradado cian-índigo-magenta. El brillo se concentra en el titular, el formulario y el precio. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  --bg: #050507;
  --bg-2: #0a0a10;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f7;
  --text-2: #a1a1b5;
  --text-3: #6b6b80;
  --cyan: #22d3ee;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --ok: #5eead4;
  --err: #fda4af;
  --grad: linear-gradient(100deg, #67e8f9 0%, #818cf8 45%, #c084fc 75%, #f0abfc 100%);
  --grad-borde: linear-gradient(135deg, rgba(34, 211, 238, 0.7), rgba(99, 102, 241, 0.5) 40%, rgba(217, 70, 239, 0.7));
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brillo 8s ease-in-out infinite alternate; }
@keyframes brillo { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.grano { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Barra superior */
.top { position: relative; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55)); }
.logo b { font: 600 20px/1 var(--display); letter-spacing: -0.02em; }
.logo span { font-weight: 300; color: var(--text-2); }
.top-cta { font: 500 14px/1 var(--body); color: var(--text); text-decoration: none; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); white-space: nowrap; transition: background 0.3s, border-color 0.3s; }
.top-cta:hover { border-color: rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.12); }

/* Portada */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding-top: 72px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(99, 102, 241, 0.24), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(34, 211, 238, 0.10), transparent 70%),
    radial-gradient(45% 45% at 90% 70%, rgba(168, 85, 247, 0.16), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 35%, #000, transparent 80%); mask-image: radial-gradient(70% 65% at 50% 35%, #000, transparent 80%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; padding-block: 64px 96px; }
.hero-copy { display: grid; gap: 26px; align-content: start; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); font-size: 14px; color: var(--text-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(34, 211, 238, 0.6); animation: pulso 2.6s ease-in-out infinite; }
.pill b { color: var(--text); font-weight: 500; }
@keyframes pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
.hero h1 { font-weight: 300; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.045em; }
.hero h1 .l1 { display: block; font-weight: 500; }
.hero h1 .l2 { display: block; }
.hero .sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); max-width: 54ch; }
.hero .sub strong { color: var(--text); font-weight: 500; }
.garantias { display: flex; flex-wrap: wrap; gap: 10px; }
.garantias li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.garantias svg { width: 15px; height: 15px; flex: none; color: var(--ok); }

/* Formulario */
.form-card { position: relative; border-radius: 22px; padding: 28px; display: grid; gap: 18px;
  background: linear-gradient(180deg, rgba(20, 20, 32, 0.92), rgba(10, 10, 16, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 80px -30px rgba(99, 102, 241, 0.45), 0 0 120px -40px rgba(217, 70, 239, 0.35); }
.form-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-borde); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card h2 { font-weight: 400; font-size: 24px; letter-spacing: -0.03em; }
.form-card .form-intro { font-size: 14.5px; color: var(--text-2); }
.campo { display: grid; gap: 7px; }
.campo label { font-size: 14px; font-weight: 500; color: var(--text); }
.campo label small { font-weight: 400; color: var(--text-3); }
.campo input, .campo textarea { font: 400 16px/1.4 var(--body); color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 15px; width: 100%; min-width: 0; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.campo textarea { resize: vertical; min-height: 92px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--text-3); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: rgba(139, 92, 246, 0.8); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
.campo input[aria-invalid="true"] { border-color: var(--err); }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.casilla input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); flex: none; }
.casilla a { color: #c7d2fe; text-underline-offset: 3px; }
.boton { position: relative; display: block; width: 100%; font: 500 17px/1 var(--body); color: #050507; background: #f4f4f7; border: 0; border-radius: 999px; padding: 18px 22px; cursor: pointer; text-align: center; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px -10px rgba(139, 92, 246, 0.7); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; }
.boton:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 14px 50px -8px rgba(139, 92, 246, 0.95); }
.boton:active { transform: scale(0.99); }
.boton:disabled { opacity: 0.6; cursor: progress; }
.micro { font-size: 13.5px; color: var(--text-3); text-align: center; }
.msg { font-size: 14.5px; font-weight: 500; color: var(--err); }
.msg:empty { display: none; }
.hecho { display: grid; gap: 12px; }
.hecho[hidden] { display: none; }
.hecho h2 { font-size: 26px; }
.hecho p { color: var(--text-2); }
.hecho .aviso { font-size: 13px; color: var(--text-3); border-top: 1px dashed var(--line-2); padding-top: 10px; }

/* Secciones */
.sec { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-weight: 400; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.04em; }
.sec-head p { color: var(--text-2); font-size: clamp(16px, 1.35vw, 18px); max-width: 56ch; }
.linea { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5) 20%, rgba(139, 92, 246, 0.6) 60%, rgba(217, 70, 239, 0.5) 80%, transparent); opacity: 0.6; }

/* Con web o sin ella */
.casos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.caso { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 34px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); display: grid; gap: 12px; align-content: start; }
.caso h3 { font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.caso p { color: var(--text-2); }
.remate { margin-top: 28px; font: 300 clamp(20px, 2.2vw, 26px)/1.35 var(--display); letter-spacing: -0.02em; max-width: 46ch; }
.remate b { font-weight: 500; }

/* Precio */
.precio-sec .wrap { display: grid; justify-items: center; text-align: center; }
.precio-sec .sec-head { justify-items: center; }
.tarjeta-precio { position: relative; width: 100%; max-width: 640px; border-radius: 28px; padding: clamp(28px, 4vw, 48px); text-align: left; display: grid; gap: 22px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 70%), linear-gradient(180deg, rgba(20, 20, 32, 0.9), rgba(10, 10, 16, 0.9));
  box-shadow: 0 40px 100px -40px rgba(139, 92, 246, 0.5); }
.tarjeta-precio::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-borde); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cifra { display: grid; gap: 6px; }
.cifra .desde { font: 500 13px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.cifra .numero { font: 300 clamp(64px, 11vw, 112px)/0.95 var(--display); letter-spacing: -0.05em; }
.cifra .iva { font-size: 16px; color: var(--text-2); }
.cifra .iva b { color: var(--text); font-weight: 500; }
.incluye { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.incluye li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.incluye svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: #a5b4fc; }
.extra { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line-2); padding-top: 20px; font-size: 15.5px; color: var(--text-2); }
.extra p { margin: 0; }
.extra b { color: var(--text); font-weight: 500; }
.extra .etiqueta { flex: none; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 10px; }
.plazo { font-size: 14px; color: var(--text-3); }

/* Sin cuotas */
.cuotas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cuota { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 32px); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.cuota strong { font: 300 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -0.045em; }
.cuota p { color: var(--text-2); font-size: 15.5px; }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pasos li { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.pasos .n { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; color: #a5b4fc; }
.pasos h3 { font-weight: 400; font-size: 20px; letter-spacing: -0.02em; }
.pasos p { font-size: 15px; color: var(--text-2); }
.final { margin-top: clamp(36px, 5vw, 56px); display: flex; justify-content: center; }
.final .boton { width: auto; padding-inline: 34px; }

/* Preguntas */
.faq { max-width: 820px; display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 400 18px/1.4 var(--display); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 300 26px/1 var(--display); color: #a5b4fc; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 66ch; }

/* Cierre */
.cierre { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cierre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(99, 102, 241, 0.28), transparent 70%), radial-gradient(30% 40% at 30% 80%, rgba(34, 211, 238, 0.1), transparent 70%), radial-gradient(30% 40% at 70% 80%, rgba(217, 70, 239, 0.14), transparent 70%); }
.cierre .wrap { display: grid; gap: 22px; justify-items: center; padding-block: clamp(90px, 12vw, 150px); }
.cierre h2 { font-weight: 300; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.045em; max-width: 16ch; }
.cierre p { color: var(--text-2); font-size: 18px; }
.cierre .boton { width: auto; padding-inline: 34px; }

/* Pie */
.pie { border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); padding-block: 28px max(40px, env(safe-area-inset-bottom, 0px)); }
.pie .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.pie a { color: var(--text-2); text-underline-offset: 3px; }

/* Botón fijo en el móvil */
.fijo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(5, 5, 7, 0.78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-top: 1px solid var(--line); padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); transform: translateY(110%); transition: transform 0.3s var(--ease); display: none; }
.fijo.visible { transform: none; }
.fijo .boton { padding: 16px 18px; }

/* Páginas legales */
.legal { max-width: 780px; padding-block: 40px 80px; display: grid; gap: 14px; }
.legal h1 { font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.04em; margin-bottom: 6px; }
.legal h2 { font-weight: 400; font-size: 21px; margin-top: 20px; letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.legal li::marker { color: var(--violet); }
.legal .fecha { color: var(--text-3); font-size: 14px; }

@media (max-width: 900px) {
  /* En el móvil, el formulario sube justo después del titular; las garantías van debajo */
  .hero .wrap { grid-template-columns: 1fr; gap: 22px; padding-block: 40px 64px; }
  .hero-copy { display: contents; }
  .pill { order: 1; }
  .hero h1 { order: 2; }
  .hero .sub { order: 3; }
  .form-card { order: 4; margin-top: 8px; }
  .garantias { order: 5; margin-top: 6px; }
  .casos, .cuotas { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fijo { display: block; }
  .pie { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .form-card { padding: 22px; }
  .incluye { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .extra { flex-direction: column; align-items: flex-start; gap: 10px; }
  .top-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
