/* Paleta elegida: azul y carbón. Efectos originales; referencias 21st.dev 5293,19381,18654. */
:root{--brand-blue:#1d4ed8;--brand-blue-light:#60a5fa;--brand-carbon:#111820}
.dark-top{position:relative;isolation:isolate;overflow:hidden;background:#111820}
.dark-top::before{content:"";position:absolute;z-index:-1;width:900px;height:760px;right:-260px;top:-190px;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#2563eb44 0,#1d4ed81a 36%,transparent 68%);animation:hero-light 4.6s ease-out both}
.dark-top::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.14;background-image:linear-gradient(#93c5fd33 1px,transparent 1px),linear-gradient(90deg,#93c5fd33 1px,transparent 1px);background-size:76px 76px;mask-image:linear-gradient(110deg,transparent 35%,#000 100%)}
@keyframes hero-light{from{opacity:.2;transform:translate(-70px,30px) scale(.85)}to{opacity:1;transform:translate(0,0) scale(1)}}
.header nav>a:not(.button):hover{color:#93c5fd}.button-dark{background:#1d4ed8;color:#fff}.button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1d4ed820}.button:active{transform:translateY(0)}.button-dark:hover{background:#1e40af}a:focus-visible,summary:focus-visible{outline:3px solid #1d4ed8;outline-offset:5px}.dark-top a:focus-visible,.start-section a:focus-visible,.start-section summary:focus-visible{outline-color:#93c5fd}
.services-grid article{position:relative;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.services-grid article:hover{transform:translateY(-5px);border-color:#93b7ef;box-shadow:0 12px 32px #1d4ed80b}.product-window{box-shadow:0 20px 60px #1d4ed810}.resident-copy li:before{color:#1d4ed8}.hero .eyebrow{font-size:12px}.demo-sidebar a{font-size:14px}.demo-stats p{font-size:14px}.demo-stats small,.demo-activity small{font-size:12px}.demo-activity .paid{font-size:12px}.start-section .button{color:#111820}
@keyframes section-entry{from{transform:translateY(18px)}to{transform:translateY(0)}}.reveal-in{animation:section-entry .55s cubic-bezier(.2,.65,.3,1)}
@media(max-width:760px){.dark-top::before{right:-520px;top:-130px}.demo-activity .paid{font-size:11px}.services-grid article:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.dark-top::before,.reveal-in{animation:none}.button,.services-grid article{transition:none}.button:hover,.services-grid article:hover{transform:none}}

.footer-inner .brand img{filter:none}

/* Recorrido del producto. Las vistas y sus enlaces siguen disponibles sin JavaScript. */
main [hidden] { display: none !important; }
button, summary { font: inherit; }
button:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
section[id] { scroll-margin-top: 96px; }

.site-masthead {
  position: sticky;
  top: 0;
  z-index: 8;
  overflow: visible;
  background: #111820;
}
.site-masthead::before, .site-masthead::after { content: none; }
.site-masthead .header { min-height: 76px; }
.site-masthead .header > nav { gap: clamp(14px, 2vw, 32px); }
.site-masthead nav a[aria-current="location"] { color: #93c5fd; text-decoration: underline; text-underline-offset: 6px; }
.reading-progress {
  height: 2px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
}
.mobile-navigation { display: none; }

.statement-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px;
  margin: 0 0 18px;
  border: 1px solid #dbe4f0;
  border-radius: 11px;
  background: #f5f7fb;
}
.statement-controls button {
  flex: 1 1 auto;
  min-height: 38px;
  cursor: pointer;
  border: 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: transparent;
  color: #465772;
  font-size: 13px;
  font-weight: 600;
}
.statement-controls button[aria-pressed="true"] { background: #e3edff; color: #1d4ed8; }
.statement .pending { background: #fff1d8; color: #714800; }
.statement .balance { padding-bottom: 14px; }
.statement { transition: transform .28s ease; }
.hero-visual:focus-within .statement { transform: rotate(0); }
.statement .document-icon { border-color: #1d4ed8; }

.purpose-inner .quick-links { display: flex; flex-wrap: wrap; gap: 10px; letter-spacing: 0; }
.quick-links a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid #cbd9ee;
  border-radius: 999px;
  background: #fff;
  color: #1e40af;
  font-size: 14px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.quick-links a:hover { border-color: #8eaee8; background: #edf4ff; }
.services-grid article { display: flex; flex-direction: column; }
.services-grid article .text-link { align-self: start; margin-top: auto; padding-top: 18px; color: #1e40af; }
.services-grid article:focus-within { border-color: #94b4ec; }

[data-tabs] { position: relative; isolation: isolate; }
[data-tabs][role="tablist"]::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 0;
  content: "";
  pointer-events: none;
  width: var(--tab-width);
  height: var(--tab-height);
  transform: translate(var(--tab-x), var(--tab-y));
  border-radius: 8px;
  background: var(--tab-highlight, #e1ecff);
  transition: transform .24s cubic-bezier(.2, .7, .2, 1), width .24s ease, height .24s ease;
}
.demo-tabs { display: grid; gap: 5px; }
.demo-tabs a { position: relative; display: block; }
.demo-tabs [aria-selected="true"] { color: #1d4ed8; font-weight: 650; }
.demo-tabs [aria-selected="true"]:hover { background: transparent; }
.demo-views { min-width: 0; }
.demo-views [data-panel] + [data-panel]:not([hidden]) { border-top: 1px solid #dbe4f0; }
[data-tabset][data-enhanced] [data-panel]:not([hidden]) { animation: panel-in .23s ease-out; }
[data-tabset][data-enhanced] [data-panel] { border-top: 0 !important; }
@keyframes panel-in { from { opacity: .65; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
.sample-rows { list-style: none; margin: 0; padding: 0; border: 1px solid #dbe4f0; border-radius: 12px; overflow: hidden; }
.sample-rows-spaced { margin-top: 16px; }
.sample-rows li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 18px; }
.sample-rows li + li { border-top: 1px solid #dbe4f0; }
.sample-rows strong, .sample-rows small { display: block; }
.sample-rows strong { font-size: 15px; }
.sample-rows small { margin-top: 5px; color: #526076; font-size: 13px; }
.sample-rows b { font-size: 14px; white-space: nowrap; }
.sample-rows .paid, .sample-badge { white-space: nowrap; }
.sample-badge { padding: 5px 8px; border-radius: 999px; background: #fff3db; color: #714800; font-size: 12px; }
.sample-overdue { background: #faecec; color: #8a3131; }

.faq-list details[open] summary { color: #1d4ed8; }
.faq-list details p { font-size: 16px; }

.resident-visual { display: flex; flex-direction: column; min-height: 330px; }
.resident-visual .door-icon { border-color: #93c5fd; border-radius: 4px; }
.portal-menu { --tab-highlight: #263c58; gap: 4px; flex-wrap: wrap; margin: 25px 0 16px; }
.portal-menu a { display: inline-flex; align-items: center; min-height: 41px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #d8e6fa; }
.portal-menu a:hover, .portal-menu [aria-selected="true"] { color: #fff; }
.portal-menu a:focus-visible, .contact-panel :focus-visible, .mobile-navigation :focus-visible { outline-color: #93c5fd; }
.portal-views { min-height: 128px; }
.portal-views [data-panel] { padding: 14px 0; }
.portal-views h3 { margin: 0; font-size: 21px; }
.portal-views p { margin: 10px 0; max-width: 34ch; color: #c5d5ed; font-size: 16px; line-height: 1.55; }
.portal-chip { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #233752; color: #dbeafe; font-size: 13px; }
.resident-visual .portal-example { margin: auto 0 0; color: #c5d5ed; font-size: 13px; }

.final-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; margin-bottom: 72px; }
.contact-panel, .access-panel { min-width: 0; border-radius: 22px; padding: clamp(22px, 4vw, 54px); }
.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: radial-gradient(ellipse at 85% 16%, #263f62 0%, transparent 67%), #111820;
}
.contact-panel h2 em { color: #93c5fd; }
.contact-panel > p, .access-panel > p { margin: 17px 0 22px; max-width: 42ch; font-size: 16px; line-height: 1.65; }
.contact-panel > p { color: #d0def3; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 18px; }
.contact-actions .button-light { color: #111820; }
.copy-contact {
  background: transparent;
  color: #dbeafe;
  border: 1px solid #91b4e680;
  border-radius: 8px;
  min-height: 38px;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 13px;
}
.copy-contact:hover { background: #ffffff17; }
.contact-panel .copy-status { margin: 8px 0 0; min-height: 19px; font-size: 13px; }
.access-panel { border: 1px solid #dbe4f0; background: #f5f8ff; color: #111820; }
.access-panel h2 { font-size: clamp(29px, 3vw, 39px); }
.access-panel > p, .access-panel details p { color: #526076; }
.access-panel details { margin-top: 16px; border-top: 1px solid #dbe4f0; padding-top: 12px; }
.access-panel summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.access-panel details p { margin-bottom: 0; font-size: 16px; line-height: 1.65; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 13px 23px; font-size: 14px; }
.footer-inner nav a { text-underline-offset: 4px; }
.footer-inner nav a:hover { color: #1d4ed8; }

@media (max-width: 875px) {
  .site-masthead .header > nav { margin-left: auto; }
  .header > nav > a:not(.button) { display: none; }
  .mobile-navigation { display: block; position: relative; flex-shrink: 0; }
  .mobile-navigation summary { list-style: none; cursor: pointer; padding: 9px 4px; font-size: 14px; font-weight: 600; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .header .mobile-navigation nav {
    position: absolute;
    display: grid;
    gap: 0;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #435972;
    background: #172230;
    box-shadow: 0 10px 35px #0005;
  }
  .header .mobile-navigation nav > a:not(.button) { display: block; padding: 10px 5px; }
  .product-layout { grid-template-columns: 1fr; }
  .demo-sidebar { display: block; border-right: 0; border-bottom: 1px solid #dbe4f0; padding: 8px; }
  .demo-sidebar img { display: none; }
  .demo-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
  .demo-tabs a { display: flex; align-items: center; min-height: 44px; padding: 8px; }
  .final-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 48px; }
}
@media (max-width: 460px) {
  .site-masthead .header { gap: 9px; min-height: 67px; }
  .site-masthead .brand { width: min(35vw, 124px); }
  .site-masthead .header .button { font-size: 12px; padding-inline: 9px; }
  .hero-visual .statement { transform: none; }
  .sample-rows li { padding: 12px; }
  .demo-stats { grid-template-columns: 1fr; }
  .demo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tabs a { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  [data-tabset][data-enhanced] [data-panel]:not([hidden]) { animation: none; }
  .hero-visual .statement { transform: none; }
}

/* Soluciones con vistas del producto, recorridos y cierre. */
.services-grid.gateway-services {
  grid-template-columns: 1.08fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.gateway-services article {
  isolation: isolate;
  overflow: clip;
  min-width: 0;
}
.gateway-services .feature-tower {
  grid-row: span 2;
  background: linear-gradient(158deg, #fff 10%, #e9f2ff 100%);
}
.gateway-services .feature-copy { position: relative; z-index: 1; }
.gateway-services .feature-copy .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 5px;
}
.feature-payments .feature-copy, .feature-finances .feature-copy { width: 68%; }
.feature-motif {
  position: absolute;
  right: 7%;
  bottom: 23%;
  width: 20%;
  max-width: 119px;
  height: 42%;
  pointer-events: none;
  transition: translate .3s ease;
}
.gateway-services article:is(:hover, :focus-within) .feature-motif { translate: 0 -4px; }
.motif-receipt {
  display: grid;
  align-content: center;
  gap: 11%;
  border: 1px solid #b7cbeb;
  border-radius: 9px;
  background: repeating-linear-gradient(#f7faff 0 19px, #edf4ff 20px 21px);
  box-shadow: 7px 8px 0 #e2eeff;
  transform: rotate(-9deg);
  box-sizing: border-box;
}
.motif-receipt i { width: 52%; margin-inline: auto; height: 3px; background: #91b2e6; border-radius: 3px; }
.motif-receipt i:nth-child(2) { width: 37%; }
.motif-receipt b {
  position: absolute; bottom: -10px; right: -10px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #dff5ed; color: #17614b;
  border: 1px solid #b3e1d5;
}
.motif-chart { display: flex; align-items: end; gap: 6%; border-bottom: 1px solid #bdcfe9; }
.motif-chart i {
  flex: 1; height: 34%; border-radius: 4px 4px 0 0;
  background: linear-gradient(#3d76d7, #b0cffc);
}
.motif-chart i:nth-child(2) { height: 51%; }
.motif-chart i:nth-child(3) { height: 45%; }
.motif-chart i:nth-child(4) { height: 72%; }
.motif-chart i:nth-child(5) { height: 91%; }
.tower-preview {
  position: relative;
  overflow: clip;
  flex: 1;
  min-height: 205px;
  margin-top: clamp(12px, 2.4vw, 28px);
  border: 1px solid #c1d4ee;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 35% 70%, #cee0ff 0, transparent 69%),
    repeating-linear-gradient(90deg, transparent 0 18px, #c6d6f16b 18px 19px);
}
.tower-grid {
  position: absolute;
  left: 6%; top: 14%; bottom: -1px; width: 46%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(4px, 1vw, 10px);
  padding: clamp(6px, 1.1vw, 13px);
  border: 1px solid #acc8f5;
  border-radius: 8px 8px 0 0;
  background: #e4eeff;
  transform: perspective(420px) rotateY(-13deg);
}
.tower-grid span { border-radius: 3px; background: #cfdef6; border: 1px solid #bfd5f4; }
.tower-grid .tower-unit {
  display: grid; place-items: center;
  background: #245ab6; color: #fff;
  font-size: .8125rem; font-weight: 650;
  transition: box-shadow .25s ease;
}
.gateway-services article:is(:hover, :focus-within) .tower-unit { box-shadow: 0 0 18px #3779ee8f; }
.tower-label {
  display: grid;
  gap: 4px;
  position: absolute;
  left: 45%; right: 4%; top: 40%;
  padding: 12px clamp(9px, 1vw, 14px);
  border: 1px solid #bfceea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px #17448b19;
}
.tower-label span, .tower-label small { color: #486184; font-size: .8125rem; }

.journey-heading { display: grid; grid-template-columns: 1fr minmax(230px, 355px); align-items: end; gap: 14px 56px; }
.journey-heading > p { margin: 0; color: #425470; line-height: 1.7; }
.journey-heading h2 { margin: 0; }
.journey-demo {
  --journey-line: #bed1ee;
  overflow: clip;
  margin-top: 34px;
  border: 1px solid var(--journey-line);
  border-radius: 22px;
  background: #f5f8ff;
}
.journey-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  margin: 11px;
  border-radius: 12px;
  background: #e7eefb;
  --tab-highlight: #fff;
}
.journey-tabs::before { box-shadow: 0 1px 6px #193b7926; }
.journey-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 7px;
  border-radius: 8px;
  color: #263d62;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 625;
  line-height: 1.25;
}
.journey-tabs span {
  display: grid; place-items: center;
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%;
  background: #d4e1f7; color: #153d80;
  font-size: .875rem;
}
.journey-tabs a:is(:hover, [aria-selected="true"]) { color: #153d80; }
.journey-tabs [aria-selected="true"] span { background: #245ab6; color: #fff; }
.journey-panel:not([hidden]) {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  padding: 24px clamp(14px, 4vw, 60px) 36px;
  gap: clamp(18px, 4vw, 60px);
}
.journey-panel + .journey-panel:not([hidden]) { border-top: 1px solid var(--journey-line); }
.journey-copy h3 { margin: 0; font-size: clamp(23px, 3.1vw, 38px); letter-spacing: -.045em; font-weight: 620; line-height: 1.1; }
.journey-copy p { margin: 14px 0 0; max-width: 37ch; color: #425470; line-height: 1.65; }
.journey-illustration {
  min-width: 0; min-height: 188px;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 36px);
  border-radius: 16px;
  border: 1px solid #cad9f1;
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, #90aed63d 19px 20px),
    repeating-linear-gradient(90deg, transparent 0 19px, #90aed63d 19px 20px),
    radial-gradient(ellipse at 66% 26%, #f4f9ff, #d8e7ff);
}
.journey-ticket {
  display: grid; gap: 8px;
  width: min(100%, 345px); padding: clamp(13px, 2vw, 22px);
  background: #fff; border: 1px solid #baceeb; border-radius: 12px;
  box-shadow: 0 12px 25px #19498b18;
}
.journey-ticket > span { font-size: .8125rem; color: #4a627e; }
.journey-ticket strong { font-size: 1.125rem; }
.journey-money {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px;
  font-variant-numeric: tabular-nums;
  margin-top: 6px; padding-top: 10px; border-top: 1px solid #d6e1f1;
}
.journey-state { font-size: .8125rem; font-weight: 600; border-radius: 8px; padding: 4px 8px; }
.journey-state.is-pending { color: #714800; background: #fff3db; }
.journey-state.is-paid { color: #165742; background: #ddf6ec; }
.journey-disclaimer { color: #425470; margin-bottom: 0; font-size: .875rem; }

.faq-list details { border-radius: 9px; padding-inline: 13px; }
.faq-list summary { transition: color .18s ease; }
.faq-list summary:hover { color: #1d4ed8; }
.brand-footer {
  background: radial-gradient(ellipse at 50% 115%, #254a7b, transparent 68%), #0b111b;
  color: #f4f8ff;
  padding-block: 22px;
}
.brand-footer .footer-inner { gap: 20px; padding-block: 16px 24px; align-items: start; }
.brand-footer .footer-inner > span { color: #c5d7ef; font-size: .875rem; }
.brand-footer a { color: #c5d7ef; text-decoration: none; }
.brand-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer a:focus-visible { outline-color: #93c5fd; }
.footer-signature {
  display: grid; place-items: center;
  min-height: 160px;
  border-top: 1px solid #647ca552;
  background: repeating-linear-gradient(90deg, transparent 0 39px, #87a8d716 39px 40px);
}
.footer-signature img { display: block; width: min(75%, 420px); height: auto; }
.brand-footer .footer-bottom { border-color: #647ca552; color: #c5d7ef; }

@media (max-width: 720px) {
  .services-grid.gateway-services, .journey-heading, .journey-panel:not([hidden]) { grid-template-columns: 1fr; }
  .gateway-services .feature-tower { grid-row: auto; }
  .journey-demo { margin-top: 22px; }
  .journey-panel:not([hidden]) { padding-block: 16px 16px; }
  .journey-illustration { min-height: 148px; }
}
@media (max-width: 400px) {
  .journey-tabs a { font-size: .8125rem; gap: 3px; padding-inline: 3px; flex-direction: column; text-align: center; }
  .journey-tabs span { width: 21px; height: 21px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-motif, .tower-unit, .faq-list summary { transition: none; }
  .gateway-services article:is(:hover, :focus-within) .feature-motif { translate: none; }
}
