/* TEM 5.0 · jerarquía por tarea, controles legibles y portada compacta. */
:root{--v5-mint:#b7f4df;--v5-ink:#061b2b;--v5-muted:#b5c9d8;--v5-border:#315168}
html:has(.home-v5){background:#071c2c}
.v5-file-path{font-size:.875rem;color:#b7f4df;text-decoration:underline;line-height:1.6}.contact-paths{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.quote-file-share{padding:18px;border:1px solid #628396;border-radius:12px}.quote-file-share p,.quote-file-fallback{font-size:.875rem;line-height:1.65}.quote-file-share li{overflow-wrap:anywhere}.portal-work-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 15px 12px}.portal-work-actions .button{min-height:44px;font-size:.875rem}.portal-work-confirmed-at{margin:0 15px 15px;font-size:.875rem;line-height:1.6}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #83e7cd;outline-offset:4px}
:where(button,input,select,textarea){font:inherit}
html{scroll-padding-top:110px}
.home-v5{background:radial-gradient(ellipse at 10% 5%,#17413e6b,transparent 45%),#071c2c;color:#edf7fd;padding:34px 0 72px}
.home-v5 h1,.home-v5 h2,.home-v5 h3,.home-v5 strong{color:inherit}
.home-v5 p{color:#b8cbd9}
.home-v5 .eyebrow{color:#95e4cc;font-size:.72rem;letter-spacing:.14em}
.v5-hero{display:grid;grid-template-columns:1.03fr 1fr;gap:clamp(28px,5vw,76px);align-items:center;padding-top:42px;padding-bottom:74px}
.v5-hero h1{font-size:clamp(3.1rem,5.7vw,5.3rem);line-height:1.04;letter-spacing:-.065em;margin:22px 0 24px;font-weight:850}
.v5-hero h1 em{font-style:normal;color:var(--v5-mint)}
.v5-lead{font-size:1.16rem;line-height:1.7;max-width:480px}
.v5-signal{display:inline-block;width:8px;height:8px;border-radius:50%;background:#9ce9ce;box-shadow:0 0 0 5px #9ce9ce15;margin-right:8px}
.v5-hero-trust{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0 12px}
.v5-hero-trust span{border:1px solid var(--v5-border);padding:6px 10px;border-radius:5px;font-size:.72rem;color:#d5e7f0}
.v5-hero-note{font-size:.78rem;max-width:440px;line-height:1.7}
.v5-entry-grid{display:grid;gap:16px}
.v5-entry{display:grid;grid-template-columns:1fr auto;padding:27px 30px;border-radius:18px;border:1px solid #58776d;transition:transform .18s ease,box-shadow .18s ease;color:inherit;text-decoration:none}
.v5-entry:hover{transform:translateY(-3px);box-shadow:0 18px 35px #0003}
.v5-entry small{grid-row:1;grid-column:1;letter-spacing:.12em;font-weight:800;font-size:.65rem;align-self:center}
.v5-entry h2{font-size:1.9rem;margin:10px 0;letter-spacing:-.035em;grid-column:1/-1}
.v5-entry p{font-size:.92rem;max-width:350px;line-height:1.55;margin:0 0 20px;grid-column:1/-1}
.v5-entry b{display:flex;justify-content:space-between;gap:15px;font-size:.85rem;grid-column:1/-1}
.v5-entry-icon{grid-column:2;grid-row:1;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#082d2511}
.v5-entry-icon svg{width:21px;height:21px}
.v5-entry--quote{background:#b7f4df;color:#0a332b}
.home-v5 .v5-entry--quote p{color:#305a4d}
.v5-entry--order{background:linear-gradient(125deg,#163447,#102b3f);border-color:#365368}
.v5-entry--order small{color:#afc9dc}
.v5-entry--order .v5-entry-icon{background:#ffffff12}
.v5-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}
.home-v5 h2{font-size:clamp(1.65rem,2.5vw,2.35rem);letter-spacing:-.04em;line-height:1.15;margin:9px 0 4px}
.home-v5 .text-link{color:#b7f4df;font-size:.86rem}
.v5-service-section{padding-top:30px;padding-bottom:60px;border-top:1px solid #345064}
.v5-services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.v5-service{color:inherit;text-decoration:none;border:1px solid #315168;border-radius:14px;padding:25px;background:#102b3f;display:grid;grid-template-columns:1fr auto;transition:border-color .2s}
.v5-service:hover{border-color:#a2dccb}
.v5-service>span{grid-row:1;grid-column:2;width:32px;height:32px;color:#a4e8d2}
.v5-service>span svg{width:28px;height:28px}
.v5-service small{grid-row:1;grid-column:1;align-self:center;font-size:.63rem;color:#b6ccdb;letter-spacing:.12em}
.v5-service h3,.v5-service p,.v5-service b{grid-column:1/-1}
.v5-service h3{font-size:1.28rem;line-height:1.3;margin:23px 0 10px;max-width:220px;letter-spacing:-.02em}
.v5-service p{font-size:.87rem;line-height:1.7;min-height:3em;margin:0 0 22px}
.v5-service b{font-size:.77rem;color:#b7f4df;display:flex;justify-content:space-between}
.v5-process{background:#0d293b;border:1px solid #315168;border-radius:18px;padding:30px;display:grid;grid-template-columns:1fr 1.8fr;gap:40px;align-items:center;margin-bottom:60px}
.v5-process ol{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.v5-process li>span{font-size:.7rem;display:inline-flex;width:29px;height:29px;border:1px solid #659987;color:#b7f4df;border-radius:50%;align-items:center;justify-content:center;margin-bottom:15px}
.v5-process h3{font-size:.95rem;line-height:1.4;margin:0 0 7px}.v5-process li p{font-size:.8rem;line-height:1.7;margin:0}
.v5-process .text-link{display:inline-block;margin-top:18px}
.v5-tools{display:grid;grid-template-columns:1fr 1.8fr;gap:40px;align-items:start;margin-bottom:60px}
.v5-tools>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.v5-tools a{border:1px solid #315168;padding:22px;border-radius:12px;color:inherit;text-decoration:none;display:grid}
.v5-tools a>span svg{width:22px;height:22px;color:#9fe6cf;margin-bottom:12px}
.v5-tools strong{font-size:1rem}.v5-tools p{font-size:.82rem;line-height:1.65}.v5-tools b{color:#b7f4df;font-size:.77rem}
.v5-optional-review{border:1px solid #315168;border-radius:12px;margin-bottom:36px;padding:18px 22px}.v5-optional-review>summary{cursor:pointer;font-size:.86rem;display:flex;justify-content:space-between;gap:16px;color:#d8edf5}.v5-optional-review>.wrap{width:100%}
.v5-trust{display:grid;gap:12px;margin-bottom:25px}.v5-trust>.v5-optional-review{margin:0}.v5-trust .comparison-grid{grid-template-columns:1fr 1fr}.v5-trust>.v5-optional-review>.wrap{width:100%}.v5-trust .comparison-section{padding-block:25px}.v5-trust .testimonial-section{margin-block:24px}.v5-trust .testimonial-heading h2{font-size:1.5rem}@media(max-width:760px){.v5-trust .comparison-grid{grid-template-columns:1fr}.v5-trust>.v5-optional-review{padding:18px}.v5-trust .comparison-paper{min-height:340px}}
.v5-faq{display:grid;grid-template-columns:1fr 1.8fr;gap:40px;border-top:1px solid #315168;padding-top:40px;margin-bottom:55px}
.v5-faq>div>p:last-child{font-size:.86rem;line-height:1.8;max-width:280px}.v5-faq a{color:#b7f4df}
.home-v5 .faq-list details{background:#102b3f;border-color:#315168}.home-v5 .faq-list summary{color:#edf7fd;font-size:.92rem}.home-v5 .faq-list p{font-size:.85rem}
.v5-contact-band{background:#b7f4df;border-radius:16px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#0a332b}
.v5-contact-band h2{font-size:1.6rem;max-width:560px}.home-v5 .v5-contact-band .eyebrow{color:#276455}.v5-contact-band .button{background:#10372f;color:#fff;min-width:180px;box-shadow:none}.v5-contact-band svg{width:20px;height:20px}
.chat-document-inventory{display:grid;gap:10px}.chat-document-row{display:grid;gap:4px;padding:13px;background:#102b3f;border:1px solid #416076;border-radius:10px;overflow-wrap:anywhere}.chat-document-row>span,.chat-document-row small{font-size:.78rem}.chat-document-row details{font-size:.75rem}.chat-document-row .chat-text-button{justify-self:start;min-height:36px}
.portal-orders-panel>.portal-order-group{scroll-margin-top:120px}.portal-order-card .portal-work-finances{margin:16px 22px 22px;border:1px solid #bfceda;border-radius:12px;padding:0;overflow:hidden}.portal-work-finances>summary{cursor:pointer;padding:15px 18px;list-style:none;font-weight:750;display:flex;justify-content:space-between;gap:16px}.portal-work-finances>summary::after{content:'+'}.portal-work-finances[open]>summary::after{content:'−'}.portal-work-finances .portal-order-finance{border-top:1px solid #bfceda}.portal-work-finances>.portal-order-grid{margin-top:8px}.portal-last-update{font-size:.78rem;opacity:.85;margin:8px 0}
.portal-secondary-summary{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;min-height:60px;list-style:none;font-weight:800;font-size:1rem;color:#204158}.portal-secondary-summary>span{font-size:.8rem;white-space:nowrap;font-weight:600}.portal-secondary-summary::-webkit-details-marker{display:none}html[data-portal-theme=dark] .portal-secondary-summary{color:#deeff9}html[data-portal-theme=dark] #portal-dashboard{color-scheme:dark}html[data-portal-theme=light] #portal-dashboard{color-scheme:light}
@media(max-width:600px){.portal-secondary-summary{display:grid;gap:5px}.portal-secondary-summary>span{font-size:.8rem}}
html[data-portal-theme=dark] .portal-work-finances{border-color:#3d5b71;background:#102c40;color:#d9edf7}html[data-portal-theme=dark] .portal-work-finances .portal-order-finance{border-color:#3d5b71}
.portal-order-card>.portal-order-date{display:grid;gap:5px;margin:0 15px 14px;padding:15px;border:1px solid #bbd4dd;border-radius:12px;background:#eaf4f8;color:#214b60}.portal-order-card>.portal-order-date>span{font-size:.75rem}.portal-order-card>.portal-order-date>strong{font-size:.95rem;color:#214b60}html[data-portal-theme=dark] .portal-order-card>.portal-order-date{background:#1a3c50;border-color:#466781;color:#cce3f2}html[data-portal-theme=dark] .portal-order-card>.portal-order-date>strong{color:#f1d992}
html[data-portal-theme=dark] .portal-order-card>.portal-order-date>span,html[data-portal-theme=dark] .portal-order-card>.portal-order-date>strong{color:#f1d992!important}
.footer-social-card,.footer-channel{min-height:48px}.site-footer .social-icon{flex-shrink:0;width:22px;height:22px}
.v5-contact-band .button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.site-footer .footer-channel{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px}.site-footer .footer-channel>span{display:grid;gap:4px}
@media(max-width:760px){.home-v5{padding-top:8px;padding-bottom:30px}.v5-hero{grid-template-columns:1fr;padding-top:26px;padding-bottom:34px;gap:24px}.v5-hero h1{font-size:3.05rem;margin:16px 0}.v5-lead{font-size:1rem}.v5-hero-trust{margin-top:20px}.v5-hero-note{display:none}.v5-entry-grid{grid-template-columns:1fr 1fr;gap:10px}.v5-entry{padding:17px 14px;border-radius:13px}.home-v5 .v5-entry h2{font-size:1.32rem;margin:10px 0}.v5-entry p{font-size:.76rem;margin-bottom:14px}.v5-entry small{font-size:.52rem;letter-spacing:.04em}.v5-entry-icon{width:28px;height:28px}.v5-entry-icon svg{width:18px;height:18px}.v5-entry b{font-size:.68rem}.v5-section-head{align-items:start;flex-direction:column;gap:12px}.v5-service-section{padding-top:28px;padding-bottom:32px}.v5-services{grid-template-columns:1fr;gap:10px}.v5-service{padding:19px;grid-template-columns:1fr auto}.v5-service h3{font-size:1.12rem;margin:12px 0 6px;max-width:none}.v5-service p{min-height:0;margin-bottom:12px;font-size:.8rem}.v5-process,.v5-tools,.v5-faq{grid-template-columns:1fr;gap:22px;margin-bottom:32px}.v5-process{padding:22px}.v5-process ol{grid-template-columns:1fr;gap:18px}.v5-process li{display:flex;gap:15px;align-items:start}.v5-process li>span{flex-shrink:0;margin:0}.v5-tools>div:last-child{gap:10px}.v5-tools a{padding:15px}.v5-tools strong{font-size:.86rem}.v5-tools p{font-size:.75rem}.v5-contact-band{padding:24px;display:grid;gap:20px}.v5-contact-band h2{font-size:1.5rem}.v5-contact-band .button{justify-self:start}.portal-order-card .portal-work-finances{margin:12px}.portal-work-finances>summary{font-size:.86rem;padding:14px}.portal-last-update{font-size:.72rem}.home-v5 .faq-list summary{font-size:.86rem}.home-v5 .faq-list p{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.v5-entry,.v5-service{transition:none}.v5-entry:hover{transform:none}}
@media(max-width:760px){.tem-chat-launcher{width:54px;height:54px;padding:7px;min-width:54px;right:12px;bottom:12px;justify-content:center}.tem-chat-launcher>span{display:none}.tem-chat-launcher img{width:38px;height:38px}.home-v5 .v5-faq summary{padding:17px 10px}}
/* El contenido y las acciones se leen sin depender del zoom del teléfono. */
.home-v5 .v5-entry p,.home-v5 .v5-service p,.home-v5 .v5-tools p,.home-v5 .faq-list p{font-size:1rem}
.home-v5 .v5-entry b,.home-v5 .v5-service b,.home-v5 .v5-tools b,.home-v5 .text-link{font-size:.875rem}
.home-v5 .v5-tools strong,.home-v5 .v5-process h3{font-size:1rem}.home-v5 .v5-process li p{font-size:.875rem}
.home-v5 .v5-entry small,.home-v5 .v5-service small{font-size:.75rem;letter-spacing:.04em}.home-v5 .v5-entry small{max-width:80%}
@media(max-width:760px){.home-v5 .v5-entry-grid{grid-template-columns:1fr}.home-v5 .v5-entry{padding:20px}.home-v5 .v5-entry p{font-size:1rem;max-width:none;margin-bottom:14px}.home-v5 .v5-entry h2{font-size:1.6rem}.home-v5 .v5-entry b{min-height:26px}.home-v5 .faq-list summary{font-size:1rem}}
