/* Web Systems 3.1 · Base global
 * Este módulo se carga de forma condicional desde functions.php.
 */

:root {
  --ink: #080a0f;
  --ink-2: #10131a;
  --ink-3: #181c25;
  --paper: #f3f4f6;
  --paper-2: #e9ebef;
  --white: #ffffff;
  --text: #11141b;
  --muted: #666d78;
  --muted-light: #9ca4b2;
  --line: #dfe2e7;
  --line-dark: rgba(255,255,255,.11);
  --blue: #2458ff;
  --blue-2: #4a77ff;
  --blue-soft: #e9eeff;
  --green: #55d98b;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px rgba(12,18,35,.10);
  --shadow-dark: 0 35px 90px rgba(0,0,0,.38);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: white; background: var(--blue); }

.shell { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.eyebrow { display: inline-block; margin-bottom: 17px; color: var(--blue); font-size: 10px; font-weight: 850; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #8fa8ff; }
.section-heading { margin-bottom: 56px; }
.section-heading h2, .positioning-copy h2, .care-copy h2, .problem-layout h2, .connected-stack-copy h2, .webcare-copy h2, .diagnosis-output h2, .about-story h2, .principles-intro h2 { margin: 0; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.03; letter-spacing: -.052em; }
.section-heading > p, .section-heading-split > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-heading-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: 86px; align-items: end; }
.centered-heading { max-width: 850px; margin-inline: auto; text-align: center; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #1648f7, #2f68ff); box-shadow: 0 13px 30px rgba(36,88,255,.27); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(36,88,255,.36); }
.button-dark { color: white; background: var(--ink); }
.button-white { color: var(--ink); background: white; }
.button-outline { color: var(--ink); border-color: #c9ced7; background: transparent; }
.button-outline:hover { border-color: var(--ink); }
.button-ghost { color: var(--ink); border-color: rgba(13,17,25,.22); background: rgba(255,255,255,.55); }
.button-ghost-light { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.02); }
.button-full { width: 100%; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 800; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }
.clean-checks { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; }
.clean-checks li { display: flex; gap: 11px; align-items: flex-start; color: #bdc4cf; font-size: 13px; line-height: 1.6; }
.clean-checks svg { flex: 0 0 auto; margin-top: 2px; color: #7e9bff; }
.form-status { min-height: 18px; margin: 10px 0 0; color: #6b7280; font-size: 10px; text-align: center; }
.is-loading { opacity: .68; pointer-events: none; }
.ws-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.ws-animate .reveal:not(.is-revealed) { opacity: 0; transform: translateY(20px); }
.ws-animate .reveal-delay { transition-delay: .1s; }
.ws-animate .reveal-delay-2 { transition-delay: .2s; }

@media (max-width: 1120px) {
  .shell { width: min(var(--shell), calc(100% - 42px)); }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .section { padding: 68px 0; }
  .hero-actions, .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .section-heading { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ws-animate .reveal:not(.is-revealed) { opacity: 1; transform: none; }
}
