/* PoolPing · pages added on 10 nov 2026 (seguridad, cambiate, comparar, novedades,
   feature pages, guides). Loaded after styles.css and built only from its tokens,
   so light and dark follow the landing. */

.sub-page .hero { padding-bottom: 20px; }
.sub-page .hero .lead { max-width: 60ch; }
.crumbs { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; color: #BFF3EE; }
.crumbs a { color: #FFFCF7; text-underline-offset: 3px; }

.sec { padding-block: 32px 12px; }
.sec h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.06; }
.sec-head { margin-bottom: 20px; max-width: 760px; }
.sec-head p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1019px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.card b, .card h3 { font: 800 19px/1.15 var(--f-display); margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .p-ico { margin-bottom: 4px; }
.card.flat { background: var(--aqua-soft); border-color: transparent; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A6F78' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks.no li::before { background: var(--alert-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23A63B1C' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Steps: only for a real sequence (do this, then this). */
.steps-list { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps-list.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps-list > li { counter-increment: st; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.steps-list > li::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--f-mono); background: var(--link); color: var(--card); }
.steps-list b { font: 800 18px/1.15 var(--f-display); }
.steps-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* Questions */
.qa { display: grid; gap: 10px; max-width: 820px; }
.qa-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.qa-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 18px; font: 700 17px/1.3 var(--f-body); min-height: 56px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-soft); color: var(--link); font: 600 18px var(--f-mono); transition: transform 0.2s; }
.qa-item[open] summary::after { transform: rotate(45deg); }
.qa-item > div { padding: 0 18px 16px; color: var(--muted); }
.qa-item > div p { margin: 0 0 8px; }
.qa-item > div p:last-child { margin-bottom: 0; }

/* Tables */
.tbl { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.tbl thead th { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tbl tbody th { font-weight: 700; }
.tbl tr:last-child > * { border-bottom: 0; }
.tbl .yes, .tbl .no, .tbl .part { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tbl .yes { color: var(--link); }
.tbl .no { color: var(--alert); }
.tbl .part { color: var(--muted); }
.tbl caption { caption-side: bottom; text-align: left; padding: 10px 14px; color: var(--muted); font-size: 13px; }

.note { background: var(--stone); border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: 14px; max-width: 820px; }
.note b { color: var(--fg); }

/* Screens of the app (real captures or the landing's drawn phones) */
.shot { margin: 0; display: grid; gap: 8px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--card); }
.shot figcaption { color: var(--muted); font-size: 14px; }
.split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; } }

/* Related pages (.more is the landing form's details in styles.css) */
.more-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .more-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-links a { display: grid; gap: 2px; min-height: 64px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); text-decoration: none; color: var(--fg); background: var(--card); transition: border-color 0.2s; }
.more-links a:hover { border-color: var(--link); }
.more-links a b { font-weight: 700; }
.more-links a span { color: var(--muted); font-size: 14px; }

/* Long text: guides and the security page */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; margin: 36px 0 10px; }
.prose h3 { font: 800 20px/1.2 var(--f-display); margin: 26px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 3px solid var(--aqua); background: var(--card); border-radius: 0 12px 12px 0; }
.prose .tbl { margin: 0 0 16px; font-size: 15px; line-height: 1.45; }
.byline { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #BFF3EE; margin: 14px 0 0; }
.sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 28px; }
.sources ol { padding-left: 20px; }

/* What's new */
.news { display: grid; gap: 18px; max-width: 820px; }
.news-day { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.news-day h3 { margin: 0 0 10px; font: 600 13px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.news-day h3 span { color: var(--muted); font-weight: 500; }
.news-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.news-day li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; }
.kind { font: 600 11px var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--aqua-soft); color: var(--link); white-space: nowrap; }
.kind.fix { background: var(--stone); color: var(--muted); }

.sub-page .a-cta { margin-top: 32px; }
.foot .foot-links { line-height: 1.9; }

/* Landing additions (10 nov 2026): «more» link per feature tab, video, price calculator, questions. */
.panel-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-weight: 700; text-underline-offset: 4px; }
.trust-links { flex-wrap: wrap; }

.video-sec { padding-block: 36px 8px; }
.video-sec h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.05; }
.video-box { margin-top: 18px; max-width: 900px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #06414A; box-shadow: 0 24px 50px -28px rgba(2, 30, 36, 0.8); }
.video-box iframe, .video-play { display: block; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; padding: 0; cursor: pointer; background: transparent; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 252, 247, 0.94); box-shadow: 0 10px 30px -8px rgba(2, 30, 36, 0.7); transition: transform 0.2s; }
.video-btn::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #075F6B; }
.video-play:hover .video-btn { transform: scale(1.06); }

.calc { margin-top: 20px; display: grid; gap: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 20px; }
@media (min-width: 860px) { .calc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: 28px; align-items: center; } }
.calc h3 { font: 800 clamp(22px, 3vw, 28px)/1.1 var(--f-display); margin: 0; }
.calc-in { display: grid; gap: 14px; min-width: 0; }
.calc-in > p { margin: 0; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 6px 12px; align-items: center; }
.calc-row label { grid-column: 1 / -1; font-weight: 700; }
.calc-row input[type="range"] { width: 100%; accent-color: var(--link); min-height: 32px; }
.calc-row output { font: 600 18px var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.calc-check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; min-height: 44px; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--link); }
.calc-res { display: grid; gap: 6px; align-content: start; background: var(--aqua-soft); border-radius: 18px; padding: 18px; min-width: 0; }
.calc-res p { margin: 0; }
.calc-label { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.calc-label b { font-weight: 600; }
.calc-price b { font: 800 clamp(40px, 6vw, 52px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.calc-price span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.calc-detail { color: var(--muted); font-size: 15px; }
.calc-other { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px !important; }
.calc-other b { color: var(--fg); }
.calc-res .plan-cta { margin-top: 10px; justify-self: start; }

.faq-sec { padding-top: 40px; }
.faq-more { margin: 16px 0 0; }
.calc-res .plan-cta { padding: 0 22px; }

/* Final call to action with a real heading (.offer-t is sized for «Quedan 23 de 50 cupos»). */
.a-cta .cta-title { font-size: clamp(26px, 4vw, 36px); line-height: 1.08; color: #FFFCF7; margin: 0; }
