/* PagaTuCoche V5 — mobile, readable content and native navigation. */
:root{--ptc-dock-height:0px;--ptc-header-offset:80px}
html{scroll-padding-top:var(--ptc-header-offset);text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{overflow-wrap:break-word}
*,*::before,*::after{box-sizing:border-box}
main,.container,.container-narrow,.hero__grid>*,.grid>*,.field{min-width:0}
img,video{max-width:100%;height:auto}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:rgba(14,107,71,.16)}
button,.btn,summary,.mobile-cta-btn{min-height:44px;touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #b8800b!important;outline-offset:4px}
.field input:not([type="checkbox"]):not([type="hidden"]),.field select,.field textarea{font-size:16px!important;max-width:100%}
.field-check{align-items:flex-start}
.field-check label{min-height:44px;line-height:1.6}
.field-check input[type="checkbox"]{min-width:22px;min-height:22px;margin-top:4px}
h1,h2,h3,[id],form{scroll-margin-top:var(--ptc-header-offset)}
.prose,.ptc-editorial{line-height:1.75}
.prose p,.ptc-editorial p{max-width:75ch}
.prose a,.ptc-editorial a{text-underline-offset:.18em}
.btn-wa,.mobile-cta-wa{background:#087443!important;color:#fff!important}
.hero--with-image::before,.hero--dark::before,.proof::before{background-image:none!important}
.hero--with-image{background:#f3f6f1!important}
.hero--dark,.proof{background:#0b3d2e}
.ptc-menu{display:none}
.ptc-dock{display:none}
.ptc-desktop-wa{position:fixed;right:20px;bottom:20px;z-index:190;display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;border-radius:999px;background:#087443;color:#fff;text-decoration:none;font:600 16px/1.4 system-ui;box-shadow:0 5px 24px #0002}
.ptc-desktop-wa:hover{background:#075c36;color:#fff}
.ptc-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:1rem 0;border:1px solid #c9d8d1;border-radius:10px}
.ptc-table-scroll table{margin:0;width:100%;min-width:520px}
.ptc-table-help{margin:.25rem 0;font-size:.875rem}
.ptc-toc{margin:1.4rem 0;padding:0 18px;border:1px solid #b8cfc3;border-radius:12px;background:#f3f7f4;color:#173d2a}
.ptc-toc summary{display:flex;align-items:center;padding:12px 0;font-weight:700;cursor:pointer}
.ptc-toc summary::after{content:"+";margin-left:auto;font-size:1.4rem}
.ptc-toc[open] summary::after{content:"−"}
.ptc-toc ol{padding:0 0 14px 1.25rem;margin:0}
.ptc-toc a{display:inline-block;padding:8px 0;color:#075c36;text-decoration:underline;text-underline-offset:3px}
.ptc-v5-figure{margin:1.8rem 0;border:1px solid #d8e1d8;border-radius:16px;overflow:hidden;background:#f1f4ee}
.ptc-v5-figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.ptc-v5-figure figcaption{padding:10px 14px;font:13px/1.55 system-ui;color:#40564a}
.ptc-photo-section{max-width:880px;margin:0 auto;padding:0 20px}
.ptc-after-form{font-size:.9rem;line-height:1.5;margin:10px 0 0}
.ptc-after-form a{text-decoration:underline}
#ptc-consent-panel{max-height:calc(100dvh - var(--ptc-dock-height) - 32px)!important;bottom:calc(var(--ptc-dock-height) + 12px)!important}
#ptc-consent-panel button,#ptc-consent-panel summary,#ptc-consent-reopen{min-height:44px}
#ptc-consent-panel label{min-height:36px}
#ptc-consent-reopen{bottom:calc(var(--ptc-dock-height) + 10px)!important}
#ptc-consent-panel:not([hidden])~#ptc-consent-reopen{display:none!important}
.ptc-reading-title{font-size:.9rem;color:inherit}
@media(max-width:980px){
 :root{--ptc-dock-height:calc(60px + env(safe-area-inset-bottom));--ptc-header-offset:76px}
 body{padding-bottom:var(--ptc-dock-height)!important}
 .site-header{position:sticky!important;top:0;z-index:220}
 .site-header__inner{position:relative;padding:10px 0!important;gap:10px!important;min-height:64px}
 .header-actions{display:flex!important;gap:8px!important;flex:0 0 auto}
 .header-actions>.btn,.menu-toggle,.site-header .site-nav{display:none!important}
 .ptc-menu{display:block}
 .ptc-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;min-width:70px;border:1px solid #a8beb0;border-radius:10px;color:#0b3d2e;background:#fff;font:600 16px/1.4 system-ui;cursor:pointer}
 .ptc-menu>summary::-webkit-details-marker{display:none}
 .ptc-menu>summary::after{content:"☰";font-size:20px;line-height:1}
 .ptc-menu[open]>summary::after{content:"×"}
 .ptc-mobile-links{position:absolute;top:calc(100% + 1px);left:0;right:0;max-height:calc(100dvh - 150px);overflow-y:auto;display:grid;background:#fff;border:1px solid #b8cfc3;border-radius:0 0 14px 14px;padding:8px 16px 16px;box-shadow:0 12px 20px #0002}
 .ptc-mobile-links a{display:flex;align-items:center;min-height:48px;padding:12px 8px;border-bottom:1px solid #e0e9e2;color:#0b3d2e;text-decoration:none;font:600 16px/1.45 system-ui}
 .site-logo{min-width:0;font-size:1.05rem!important}
 .ptc-dock{display:grid!important;position:fixed!important;left:0;right:0;bottom:0;z-index:230!important;grid-template-columns:1fr 1fr 1fr!important;gap:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #c7d8ce;box-shadow:0 -3px 18px #0001;min-height:var(--ptc-dock-height)}
 .ptc-dock .mobile-cta-btn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 4px!important;border-radius:8px;font:600 14px/1.3 system-ui!important;text-decoration:none;white-space:normal}
 .ptc-dock .ptc-call{color:#0b3d2e;background:#fff}
 .ptc-dock .mobile-cta-tasar{color:#fff;background:#0b3d2e;margin-left:6px}
 .ptc-desktop-wa,.fab-wa,.whatsapp-float,.float-wa,.wa-float{display:none!important}
 .ptc-form-focused .ptc-dock,.ptc-form-focused #ptc-consent-reopen{display:none!important}
 .hero__grid{grid-template-columns:1fr!important;gap:24px!important}
 .hero{padding:28px 0!important}
 .hero__cta-row{gap:10px!important}
 .form-card{margin-top:0!important}
 .hero__sello{white-space:normal;line-height:1.5}
 .ptc-photo-section{padding:0 16px}
 .toc-floating{position:static!important}
 .back-to-top{bottom:calc(var(--ptc-dock-height) + 12px)!important}
}
@media(max-width:600px){
 .container,.container-narrow{padding-left:16px!important;padding-right:16px!important;max-width:100%!important}
 h1,.hero h1{font-size:clamp(1.75rem,7.4vw,2.3rem)!important;line-height:1.16!important}
 h2{font-size:clamp(1.35rem,5.8vw,1.7rem)!important;line-height:1.3!important}
 p,li{line-height:1.65}
 .btn{white-space:normal;line-height:1.4}
 .hero__cta-row .btn{width:100%}
 .form-card{padding:18px!important}
 .ptc-v5-figure{border-radius:12px;margin:1.25rem 0}
 #ptc-consent-panel{left:8px!important;width:calc(100% - 16px)!important;padding:16px!important;font-size:14px!important}
 #ptc-consent-panel .ptc-consent-actions>button{flex:1 1 125px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media print{.ptc-dock,.ptc-desktop-wa,.ptc-menu,#ptc-consent-panel,#ptc-consent-reopen{display:none!important}body{padding-bottom:0!important}.ptc-v5-figure{break-inside:avoid}}


.fab-wa,.whatsapp-float,.float-wa,.wa-float{display:none!important}

/* V9: keep legacy bars from covering native mobile contacts. */
body .sticky-cta-bar,body #sticky-offer{display:none!important}
