/* Home sections in the visual language of /klama (public/landing/kerux/kerux.css):
   ExtraBold/Black headlines with tight tracking, gradient cards with a soft violet
   border, a bento of modules and a big closing line. Only the home loads it.
   View: landing/index.blade.php · hero: home-deck.css */
@font-face{font-family:Inter;src:url('../../loginx/fonts/montserrat/Montserrat-ExtraBold.ttf') format('truetype');font-display:swap;font-weight:800}

.signal-home{--card-line:rgba(178,169,255,.19);--card:linear-gradient(145deg,#211f39,#1a192d);--cyan:#34f9f3}

/* Type. */
.signal-home main h2{font-size:clamp(38px,5.2vw,76px);font-weight:800;line-height:1;letter-spacing:-.055em;color:#f5f3ff;text-wrap:balance}
.signal-home main h3{font-weight:700;letter-spacing:-.04em;color:#f0efff}
.signal-home .console-title{font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--cyan)}
.signal-home .section-intro,.signal-home .sectionhead>p,.signal-home .section>p.muted{max-width:640px;margin-top:22px;color:#c0bdd9;font-size:18px;line-height:1.6}
.signal-home .section{padding:clamp(76px,9vw,124px) 0}
.signal-home .sectionhead{align-items:flex-end}
.signal-home .sectionhead h2{max-width:900px}

/* Buttons as pills, like Klama. */
.signal-home main .button{min-height:52px;padding:0 24px;border-radius:999px;font-weight:700;box-shadow:0 8px 24px rgba(52,249,243,.13)}
.signal-home main .button.secondary{border-color:rgba(178,169,255,.34);background:rgba(29,28,50,.65);box-shadow:none}

/* Stats: big black numbers in the brand gradient. */
.signal-home .stats{margin-top:36px;padding:44px 0;border-block:1px solid rgba(178,169,255,.17)}
.signal-home .stats>div{border-color:rgba(178,169,255,.17)}
.signal-home .stats strong{display:block;font-size:clamp(40px,5vw,72px);font-weight:900;line-height:1;letter-spacing:-.06em;color:transparent;background:linear-gradient(100deg,#34f9f3,#7b6bff 60%,#e86bff);-webkit-background-clip:text;background-clip:text}
.signal-home .stats span{font-size:13px;font-weight:600;color:#c0bdd9}

/* 01 · Excel: the tiles of Klama's switch section, first one in cyan. */
.switch h2{max-width:20ch}
.switch-list{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:14px;margin:48px 0 0;padding:0;list-style:none}
.switch-list li{display:flex;flex-direction:column;justify-content:space-between;gap:64px;min-height:220px;padding:26px;border-radius:18px;background:#211f39;color:#f0efff}
.switch-list li:first-child{background:var(--cyan);color:#101525}
.switch-list strong{font-size:clamp(22px,2.2vw,32px);font-weight:800;line-height:1.05;letter-spacing:-.045em}
.switch-list span{font-size:14px;font-weight:500;line-height:1.5;opacity:.9}

/* 02 · Todo en uno: two cards, the AdminFiel one in indigo with a cyan glow. */
.signal-home .tool-comparison{gap:20px;border:0;border-radius:0;overflow:visible}
.signal-home .tool-comparison article{padding:clamp(28px,3vw,40px);border:1px solid var(--card-line);border-radius:18px;background:var(--card);box-shadow:0 16px 40px rgba(4,4,15,.16)}
.signal-home .tool-comparison article:first-child{border-right:1px solid var(--card-line)}
.signal-home .tool-comparison article:last-child{background:radial-gradient(ellipse at 80% 10%,rgba(52,249,243,.2),transparent 50%),linear-gradient(145deg,#302477,#211e46 75%);border-color:rgba(178,169,255,.35)}
.signal-home .tool-comparison h3{font-size:clamp(26px,2.6vw,36px);line-height:1.05}
.signal-home .tools span{padding:8px 13px;border:1px solid rgba(178,169,255,.24);border-radius:999px;background:rgba(16,16,29,.36);color:#d0cee2;font-size:12px}
.signal-home .tools span:nth-child(8){border-color:#ff5c7c;color:#ffb3c2;text-decoration:line-through;text-decoration-color:#ff5c7c}
.signal-home .benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.signal-home .benefits article{padding:28px;border:1px solid var(--card-line);border-radius:18px;background:var(--card)}
.signal-home .benefits .num{display:block;font-size:44px;font-weight:900;line-height:1;letter-spacing:-.06em}
.signal-home .benefits h3{font-size:24px;margin-top:4px}
.signal-home .benefits p{color:#c0bdd9;font-size:14px}

/* 03 · Módulos: a bento. Personas wide in indigo, the rest as cards. */
.signal-home .catalog{gap:20px;border:0}
.signal-home .catalog article,.signal-home .catalog article:nth-last-child(-n+2){grid-column:span 2;display:flex;flex-direction:column;padding:32px;border:1px solid var(--card-line);border-radius:18px;background:var(--card);box-shadow:0 16px 40px rgba(4,4,15,.16)}
.signal-home .catalog article:first-child{grid-column:span 4;min-height:340px;justify-content:flex-end;background:radial-gradient(ellipse at 75% 15%,rgba(52,249,243,.2),transparent 48%),linear-gradient(145deg,#302477,#211e46 75%);border-color:rgba(178,169,255,.35)}
.signal-home .catalog article:first-child h3{font-size:clamp(44px,5vw,72px);letter-spacing:-.06em;font-weight:900}
.signal-home .catalog article:first-child p{font-size:17px;max-width:420px}
.signal-home .catalog .eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:#87fff9}
.signal-home .catalog h3{margin-top:16px;font-size:32px;line-height:1}
.signal-home .catalog p{color:#c0bdd9;font-size:14px}
.signal-home .module-links{margin-top:auto;gap:8px}
.signal-home .module-links a{min-height:36px;padding:0 13px;border:1px solid rgba(178,169,255,.24);border-radius:999px;background:rgba(16,16,29,.36);color:#f0efff;font-size:12px;font-weight:600;text-decoration:none;transition:border-color .2s,color .2s}
.signal-home .module-links a:hover{border-color:var(--cyan);color:var(--cyan)}

/* 04 · Multisede: a panel like Klama's downloads block. */
.signal-home #multisede{margin-block:clamp(40px,6vw,80px);padding:clamp(30px,4vw,56px);border:1px solid rgba(178,169,255,.22);border-radius:22px;background:linear-gradient(135deg,rgba(37,33,68,.88),rgba(29,28,50,.92) 58%,rgba(24,24,42,.94));box-shadow:0 22px 65px rgba(4,4,15,.22)}
.signal-home #multisede h2{font-size:clamp(32px,3.4vw,50px)}
.signal-home .checklist li{border-color:rgba(178,169,255,.17);color:#d0cee2;font-size:14px}

/* 05 · Testimonios: the quote leads, big and bold. */
.signal-home .quote-grid{gap:20px}
.signal-home .quote-grid figure{padding:32px;border:1px solid var(--card-line);border-radius:18px;background:var(--card)}
.signal-home .quote-grid figure:first-child{background:radial-gradient(ellipse at 20% 0%,rgba(232,107,255,.18),transparent 55%),linear-gradient(145deg,#302477,#211e46 75%);border-color:rgba(178,169,255,.35)}
.signal-home .quote-grid blockquote{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.025em;color:#f0efff}
.signal-home .quote-grid figcaption{font-size:14px;font-weight:700;color:var(--cyan)}

/* Apps (shared partial): only the headline follows the home type. */
.signal-home .apps-sec h2{font-size:clamp(36px,4.6vw,64px);font-weight:800;line-height:1;letter-spacing:-.055em}

/* 07 · FAQ: title on the left, questions on the right. */
.signal-home .faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:80px;max-width:none;align-items:start}
.signal-home .faq>.console-title,.signal-home .faq>h2{grid-column:1}
.signal-home .faq>h2{grid-row:2 / span 20;margin-top:0;font-size:clamp(34px,3.6vw,52px)}
.signal-home .faq details{grid-column:2;border-bottom:1px solid rgba(178,169,255,.17);padding:20px 0}
.signal-home .faq details:first-of-type{grid-row:1}
.signal-home .faq summary{font-size:17px;font-weight:700;cursor:pointer}
.signal-home .faq details p{color:#c0bdd9;font-size:15px;padding-top:12px;max-width:600px}

/* Closing: one big line and the button, no box. */
.signal-home .closecta{text-align:left;display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:40px;padding:clamp(40px,6vw,90px) 0 clamp(60px,8vw,110px);border:0;border-radius:0;background:none}
.signal-home .closecta h2{grid-column:1;max-width:16ch;font-size:clamp(44px,6.4vw,96px);font-weight:900;letter-spacing:-.065em}
.signal-home .closecta h2:after{content:"";display:block;width:2.2em;height:.12em;margin-top:.25em;border-radius:1em;background:linear-gradient(90deg,#34f9f3,#7b6bff,#e86bff)}
.signal-home .closecta p,.signal-home .closecta .console-title{grid-column:1}
.signal-home .closecta p{color:#c0bdd9;font-size:17px;margin:18px 0 0}
.signal-home .closecta-actions{grid-column:2;grid-row:2 / span 2;align-self:end;display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}

/* Sections rise in as they enter (CSS scroll timelines; no JS). */
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .switch-list li,.signal-home .tool-comparison article,.signal-home .benefits article,.signal-home .catalog article,.signal-home .quote-grid figure{animation:home-rise linear both;animation-timeline:view();animation-range:entry 0% entry 40%}
  }
}
@keyframes home-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}

@media(max-width:1000px){
  .switch-list{grid-template-columns:1fr 1fr}
  .switch-list li{gap:32px;min-height:0}
  .signal-home .catalog article,.signal-home .catalog article:nth-last-child(-n+2){grid-column:span 3}
  .signal-home .catalog article:first-child{grid-column:1 / -1}
  .signal-home .benefits{grid-template-columns:1fr}
  .signal-home .faq{column-gap:40px}
}
@media(max-width:700px){
  .switch-list{grid-template-columns:1fr}
  .signal-home .stats strong{font-size:44px}
  .signal-home .catalog article,.signal-home .catalog article:nth-last-child(-n+2),.signal-home .catalog article:first-child{grid-column:1 / -1}
  .signal-home .catalog article:first-child{min-height:0}
  .signal-home .faq{grid-template-columns:1fr}
  .signal-home .faq>h2{grid-row:auto;margin-bottom:12px}
  .signal-home .faq details,.signal-home .faq details:first-of-type{grid-column:1;grid-row:auto}
  .signal-home .closecta{grid-template-columns:1fr}
  .signal-home .closecta-actions{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:26px}
  .signal-home #multisede{border-radius:18px}
}

/* 04 · Multisede diagram: the hub pulses inside a turning border of light and sends data down
   three curves (SMIL dots, CSS dashes) to each campus card. View: #multisede in index.blade.php */
.net{position:relative;margin:0;padding:8px 0 0}
.net-hub{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(300px,80%);margin:0 auto;padding:26px 20px 22px;border-radius:20px;text-align:center;background:radial-gradient(ellipse at 50% 0%,rgba(52,249,243,.25),transparent 60%),linear-gradient(145deg,#3a2c9a,#211e46 80%);box-shadow:0 20px 60px rgba(94,77,234,.45)}
.net-hub:before{content:"";position:absolute;inset:-1.5px;z-index:-1;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--net-angle,0deg),#34f9f3,transparent 25%,#b2a9ff 50%,transparent 75%,#34f9f3);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.net-hub img{width:110px;height:auto}
.net-hub strong{font-size:22px;font-weight:800;letter-spacing:-.04em;color:#fff}
.net-total{font-size:13px;font-weight:600;color:#87fff9}
.net-pulse,.net-pulse:after{position:absolute;inset:0;z-index:-2;border-radius:inherit;border:1px solid rgba(52,249,243,.5);pointer-events:none}
.net-pulse:after{content:""}
.net-lines{display:block;width:100%;height:110px;overflow:visible}
.net-path{fill:none;stroke:rgba(178,169,255,.22);stroke-width:2;vector-effect:non-scaling-stroke}
.net-flow{fill:none;stroke:url(#net-grad);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:14 22;vector-effect:non-scaling-stroke}
.net-dot{fill:#34f9f3;filter:drop-shadow(0 0 6px #34f9f3)}
.net-sedes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.net-sede{--tone:#34f9f3;display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid rgba(178,169,255,.22);border-radius:16px;background:linear-gradient(145deg,#24213f,#1a192d);transition:border-color .2s,transform .2s}
.net-sede:hover{border-color:var(--tone);transform:translateY(-3px)}
.net-sede.tone-violet{--tone:#a497ff}
.net-sede.tone-pink{--tone:#e86bff}
.net-badge{display:grid;place-items:center;min-width:40px;width:fit-content;height:40px;padding:0 9px;margin-bottom:6px;border-radius:12px;background:color-mix(in srgb,var(--tone) 18%,transparent);color:var(--tone);font-size:11px;font-weight:800;letter-spacing:.04em}
.net-sede strong{font-size:16px;font-weight:800;letter-spacing:-.03em;color:#f0efff}
.net-sede>span:not([class]){font-size:13px;color:#c0bdd9}
.net-bar{display:block;height:5px;margin-top:6px;border-radius:9px;background:rgba(178,169,255,.14);overflow:hidden}
.net-bar i{display:block;height:100%;border-radius:inherit;background:var(--tone);transform-origin:left}
.net-live{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:11px;font-weight:600;color:#a9a5c5}
.net-live:before{content:"";width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.18)}
.net figcaption{margin-top:18px;color:#a9a5c5;font-size:13px;text-align:center}
@property --net-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@media(prefers-reduced-motion:no-preference){
  .net-hub:before{animation:net-turn 6s linear infinite}
  .net-pulse{animation:net-ring 2.6s ease-out infinite}
  .net-pulse:after{animation:net-ring 2.6s 1.3s ease-out infinite}
  .net-flow{animation:net-flow 1.4s linear infinite}
  .net-live:before{animation:net-blink 2s ease-in-out infinite}
  .net-bar i{animation:net-grow linear both;animation-timeline:view();animation-range:entry 10% cover 40%}
}
@media(prefers-reduced-motion:reduce){.net-dot{display:none}}
@keyframes net-turn{to{--net-angle:360deg}}
@keyframes net-ring{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.18,1.4)}}
@keyframes net-flow{to{stroke-dashoffset:-36}}
@keyframes net-blink{50%{opacity:.35}}
@keyframes net-grow{from{transform:scaleX(0)}}
@media(max-width:700px){
  .net-lines{height:70px}
  .net-sedes{grid-template-columns:1fr}
  .net-sede{display:grid;grid-template-columns:auto 1fr auto;column-gap:12px;align-items:center}
  .net-badge{grid-row:span 2;margin:0}
  .net-bar{grid-column:2 / -1}
  .net-live{grid-row:1;grid-column:3;margin:0}
}

/* 02 · «Hoy, la información repartida»: each tool with what churches use it for and the
   AdminFiel module that replaces it. View: landing/partials/home-tools.blade.php */
.tools-lead{margin:14px 0 0;color:#d0cee2!important;font-size:15px!important}
/* Fixed outer columns so «what it's used for» starts at the same x on every row. */
.tools-legend,.tools-map li{display:grid;grid-template-columns:34% minmax(0,1fr) 128px;align-items:center;gap:12px;text-align:left}
.tools-legend{margin:22px 0 6px;padding:0 12px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8f8aa8}
.tools-legend span:last-child{text-align:right}
.tools-map{display:grid;gap:6px;margin:0 0 22px;padding:0;list-style:none}
.tools-map li{padding:9px 12px;border:1px solid rgba(178,169,255,.16);border-radius:12px;background:rgba(16,16,29,.4);font-size:13px;transition:border-color .2s,background .2s}
.tools-map li:hover{border-color:rgba(52,249,243,.4);background:rgba(52,249,243,.05)}
.tools-map b{font-weight:700;color:#f0efff}
.tools-map span{color:#c0bdd9;justify-self:start;text-align:left}
.tools-map em{font-style:normal;justify-self:end;padding:4px 10px;border-radius:999px;background:rgba(52,249,243,.12);color:#87fff9;font-size:11px;font-weight:700;white-space:nowrap}
.tools-map em:before{content:"→ ";opacity:.7}
.tools-map li.is-excel b{color:#ffb3c2;text-decoration:line-through;text-decoration-color:#ff5c7c}
.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}
@media(max-width:700px){
  .tools-legend{display:none}
  .tools-map li{grid-template-columns:1fr auto;row-gap:2px}
  .tools-map span{grid-column:1;grid-row:2;font-size:12px}
  .tools-map em{grid-row:1 / span 2;grid-column:2}
}
