/* Pulso — hojas a viewport + fondos (natatorio / gimnasio / club) */
.page-pulso-hojas {
  --ok: #2a7a5c;
  --warn: #b7791f;
  --bad: #b23a3a;
  --plh-accent: #5eb3c8;
  background: #0b3a4a;
}
.page-pulso-hojas .site-footer {
  background: #0a2f3c;
  color: rgba(232, 236, 238, 0.85);
  padding: 1.25rem 0;
}
.page-pulso-hojas .site-footer a { color: #fff; }

.plh {
  position: relative;
  height: var(--hoja-h);
  min-height: var(--hoja-h);
  max-height: var(--hoja-h);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: clamp(1rem, 2.5vh, 1.7rem) 0 3.4rem;
  background: #0b3a4a;
}
.plh-main {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.plh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}
.plh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 58, 74, 0.94) 0%, rgba(11, 58, 74, 0.84) 46%, rgba(0, 0, 0, 0.5) 100%);
}

.plh-copy { max-width: 40rem; min-width: 0; }
.plh-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8ecee;
}
.plh h1,
.plh h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.55rem;
  color: #fff;
}
.plh h1 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); max-width: 14ch; }
.plh h2 { font-size: clamp(1.35rem, 3.1vw, 2.1rem); max-width: 24ch; }
.plh h1 em,
.plh h2 em { font-style: normal; color: var(--plh-accent); }
.plh-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #b8e0ea;
  margin: 0 0 0.75rem;
}
.plh-lead {
  margin: 0 0 0.85rem;
  max-width: 46ch;
  font-size: 0.98rem;
  color: rgba(232, 236, 238, 0.9);
}
.plh-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  align-items: center;
}
.plh-btn {
  display: inline-flex;
  text-decoration: none;
  background: #c45c26;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 2px;
}
.plh-btn:hover { filter: brightness(1.05); color: #fff; }
.plh-btn-ghost {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}
.plh-btn-ghost:hover { border-color: #fff; color: #fff; }
.plh-link {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.plh-link:hover { border-bottom-color: #fff; }

.plh-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
}
.plh-lockup svg { width: 2.2rem; height: 2.2rem; flex-shrink: 0; }
.plh-lockup .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1.1;
}
.plh-lockup .sub {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, #e8ecee 75%, var(--plh-accent));
}

.plh-tags {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.plh-tags li {
  border: 1px solid rgba(232, 236, 238, 0.35);
  padding: 0.3rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
}
.plh-try {
  font-size: 0.86rem;
  border: 1px solid color-mix(in srgb, #b8e0ea 55%, transparent);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.95rem;
  max-width: 34rem;
}
.plh-try strong {
  color: #b8e0ea;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-right: 0.35rem;
}

.plh-grid {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.55rem;
}
@media (min-width: 720px) {
  .plh-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .plh-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .plh-hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 1rem; }
  .plh-split { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 1rem; }
}
.plh-hero-grid,
.plh-split {
  width: 100%;
  display: grid;
  gap: 0.85rem;
}

.plh-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(232, 236, 238, 0.14);
  border-left: 3px solid var(--plh-accent);
  padding: 0.65rem 0.75rem;
  backdrop-filter: blur(4px);
  min-width: 0;
}
.plh-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.plh-card p,
.plh-card li {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(232, 236, 238, 0.88);
}
.plh-card ul {
  margin: 0;
  padding-left: 1rem;
}
.plh-card li + li { margin-top: 0.25rem; }

.plh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.plh-steps li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(232, 236, 238, 0.12);
  padding: 0.5rem 0.65rem;
}
.plh-steps b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--plh-accent);
  margin-bottom: 0.1rem;
}
.plh-ico {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--plh-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--plh-accent) 65%, transparent);
  color: #b8e4ef;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Terminal mockups */
.plh .screen {
  background: rgba(7, 40, 51, 0.92);
  border: 5px solid #1b2329;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  color: #fff;
  font-size: 0.84rem;
  backdrop-filter: blur(3px);
}
.plh .screen + .screen { margin-top: 0.55rem; }
.plh .screen .bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8eb6c2;
  margin-bottom: 0.45rem;
}
.plh .screen .big {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}
.plh .screen .sub {
  font-size: 0.8rem;
  color: #b8e0ea;
  margin: 0.15rem 0 0.4rem;
}
.plh .screen .input {
  background: #fff;
  color: #0b3a4a;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0.35rem 0 0.45rem;
}
.plh .screen .key {
  display: inline-block;
  background: #3a7a8c;
  color: #fff;
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-weight: 600;
  font-size: 0.78rem;
  margin: 0 0.25rem 0.25rem 0;
}
.plh .screen .key.sel {
  background: #fff;
  color: #0b3a4a;
  box-shadow: 0 0 0 2px #b8e0ea;
}
.plh .screen .ok-line {
  color: #9ee6c4;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}
.plh .screen .alert-line {
  color: #ffd2d2;
  font-size: 0.8rem;
  margin: 0.4rem 0 0;
}
.plh .screen .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

.plh-pill {
  display: inline-block;
  border-radius: 10px;
  padding: 0.05rem 0.55rem;
  font-weight: 600;
  font-size: 0.72rem;
  color: #fff;
  white-space: nowrap;
}
.plh-pill.ok { background: var(--ok); }
.plh-pill.warn { background: var(--warn); }
.plh-pill.bad { background: var(--bad); }

.plh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.4rem 0 0.65rem;
  font-size: 0.78rem;
  color: rgba(232, 236, 238, 0.88);
}
.plh-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }

.plh-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0.55rem 0 0.75rem;
}
.plh-flow .box {
  flex: 1 1 8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(232, 236, 238, 0.16);
  padding: 0.6rem 0.7rem;
  font-size: 0.78rem;
}
.plh-flow .box b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--plh-accent);
  margin-bottom: 0.2rem;
}
.plh-flow .arrow {
  align-self: center;
  color: var(--plh-accent);
  font-size: 1.1rem;
}

.plh-notif {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  margin: 0.4rem 0 0.65rem;
  background: rgba(0, 0, 0, 0.32);
}
.plh-notif th,
.plh-notif td {
  text-align: left;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid rgba(232, 236, 238, 0.1);
  vertical-align: top;
}
.plh-notif th {
  background: rgba(11, 58, 74, 0.85);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plh-notif .grp td {
  background: rgba(94, 179, 200, 0.12);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--plh-accent);
}
.plh-notif-wrap {
  max-height: calc(var(--hoja-h) * 0.42);
  overflow: auto;
  border: 1px solid rgba(232, 236, 238, 0.12);
}

.plh-chat {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(232, 236, 238, 0.12);
  padding: 0.55rem 0.65rem;
}
.plh-chat .title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plh-accent);
}
.plh-chat .msg {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.35rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.76rem;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.plh-chat .who {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8eb6c2;
  margin-bottom: 0.15rem;
}

.plh-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: rgba(232, 236, 238, 0.9);
  max-width: 52ch;
}
.plh-note a { color: #9ad4ff; }

@media (max-width: 979px) {
  .plh .screen:nth-child(2) { display: none; }
}
