/* Appearance recipe v2. Media/brand artwork is never inverted or recoloured. */
.svp-preferences[hidden]{display:none!important}
.svp-preferences{position:fixed;left:calc(24px + env(safe-area-inset-left,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:99;font:400 14px/1.5 "SVP Inter",system-ui,sans-serif;color:#f2f4f7}
.svp-preferences>summary{box-sizing:border-box;display:grid;place-items:center;list-style:none;width:52px;height:52px;padding:12px;border:1px solid #7c889b;border-radius:12px;background:#151922;color:#f2f4f7;cursor:pointer;box-shadow:0 4px 16px #0002}
/* Control de fondo52×52 como contacto/volver arriba; etiqueta accesible en todos los tamaños. */
body button.svp-scene-toggle{box-sizing:border-box;width:52px;min-width:52px;max-width:52px;height:52px;min-height:52px;padding:0;gap:0;border-radius:12px;}
 body button.svp-scene-toggle [data-scene-symbol]{display:grid;place-items:center;width:24px;height:24px;line-height:1;font-size:22px;}
 body button.svp-scene-toggle [data-scene-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;}

.svp-preferences>summary::-webkit-details-marker{display:none}
.svp-preferences svg{display:block;width:24px;height:24px;flex:none}
.svp-preferences-panel{box-sizing:border-box;position:absolute;bottom:0;left:calc(100% + 8px);width:min(340px,calc(100vw - 108px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100dvh - 108px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;padding:24px;border:1px solid #7c889b;border-radius:16px;background:#151922;box-shadow:0 12px 32px #0003}
.svp-preferences-panel p{margin:0 0 16px;font-weight:650;color:inherit}
.svp-preferences-panel [role=group]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.svp-preferences-panel button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;min-width:0;padding:10px 4px;border:1px solid #7c889b;border-radius:10px;background:#1e2532;color:#f2f4f7;font:600 13px/1.3 "SVP Inter",system-ui,sans-serif;cursor:pointer}
.svp-preferences-panel button[aria-pressed=true]{background:#db0075;color:#fff;border-color:#db0075}
.svp-preferences-panel small{display:block;margin-top:16px;color:#b6becb}
.svp-language-options{margin-top:24px;padding-top:16px;border-top:1px solid #7c889b}
.svp-language-options ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.svp-language-options li{margin:0;min-width:0}
.svp-language-options a{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:48px;padding:8px;border:1px solid #7c889b;border-radius:10px;color:inherit;text-decoration:none;font-size:13px}
.svp-language-options a[aria-current]{border-color:#69e6dc;background:#69e6dc16}
.svp-language-options a span{font-weight:700}
.svp-preferences .svp-language-options a:focus-visible{outline:3px solid #c9a5ee;outline-offset:3px}
html[data-svp-theme=light] .svp-language-options a[aria-current]{border-color:#08736d;background:#08736d0c}
html[data-svp-theme=light] .svp-preferences .svp-language-options a:focus-visible{outline-color:#67249b}
.svp-preferences :is(button,summary):focus-visible{outline:3px solid #c9a5ee;outline-offset:3px}
body:has(.cmplz-cookiebanner.cmplz-show:not(.cmplz-hidden)) .svp-preferences{visibility:hidden;pointer-events:none}
@media(max-width:600px){.svp-preferences{left:calc(16px + env(safe-area-inset-left,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px))}.svp-preferences-panel{width:min(340px,calc(100vw - 92px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100dvh - 92px - env(safe-area-inset-bottom,0px));padding:16px}}

/* Light values from the supplied SVP Pro v2 kit; corporate CTA retained. */
html[data-svp-theme=light] body,html[data-svp-theme=light] body.svp-pro-site.svp-theme-dark{
 --svp-canvas:#f4f5f7;--svp-surface:#fff;--svp-surface-soft:#f2f4f7;--svp-ink:#101828;--svp-muted:#475467;--svp-line:#d0d5dd;
 --svp-aqua-ink:#08736d;--svp-link-ink:#08736d;--svp-link-hover:#07645f;--svp-accent:#67249b;--svp-accent-hover:#551980;--svp-on-accent:#fff;
 --svp-action-fill:#db0075;--svp-action-hover:#c7006a;--svp-on-action:#fff;--svp-focus:#67249b;--svp-control-border:#7c8698;--svp-placeholder:#667085;
 --svp-violet-ink:#5c088b;--svp-violet-soft:#f4edf9;--svp-magenta-ink:#c00068;--svp-success-ink:#067647;--svp-success-soft:#ecfdf3;--svp-warning-ink:#b54708;--svp-warning-soft:#fffaeb;--svp-danger-ink:#b42318;--svp-danger-soft:#fef3f2;
 background:#f4f5f7!important;color:#101828;color-scheme:light;
}
html[data-svp-theme=light]{background:#f4f5f7;color-scheme:light}
html[data-svp-theme=dark]{color-scheme:dark}
html[data-svp-theme=light] .svp-ambient{background:#f4f5f7}
html[data-svp-theme=light] body :is(#page,.site-content,#main,.inside-article,.page-header,.comments-area){background-color:transparent;color:var(--svp-ink)}
html[data-svp-theme=light] body :is(.entry-content,.entry-title,.page-title,.widget-title){color:var(--svp-ink)}
html[data-svp-theme=light] body .entry-content :is(h1,h2,h3,h4,h5,h6){color:var(--svp-ink)!important}
html[data-svp-theme=light] body .entry-content :is(p,li,summary,dt,dd){color:var(--svp-ink)}
html[data-svp-theme=light] body :is(.entry-content,.sidebar,.svp-legal-navigation) a:not(.wp-element-button):not(.svp-brand-slide):not(.svp-video-play){color:var(--svp-link-ink)}
html[data-svp-theme=light] body :is(.svp-home-card,.svp-service-card,.svp-home-aside,.svp-home-story,.svp-pro-note,.svp-pro-benefit,.svp-pricing-panel,.svp-learning-card,.svp-error-card,.svp-process-card,.svp-lesson-summary>p,.svp-amazon-route,.svp-route-delivery,.svp-contact-form-panel,.svp-contact-note,.svp-contact-choice,.svp-contact-options,.svp-booking-calendar,.svp-booking-person,.svp-review,.svp-project-card,.svp-legal-navigation,.sidebar .widget),
html[data-svp-theme=light] body :is(.svp-faq-grid>details,.svp-process-list>li,.svp-indicator-grid>div){background:#ffffffed!important;border-color:#d0d5dd!important;color:var(--svp-ink);box-shadow:0 8px 24px #1018280a}
html[data-svp-theme=light] body .entry-content :is(.svp-home-lead,.svp-project-copy p,.svp-carousel-toolbar>p,.svp-team-photo figcaption,.svp-team-area p,.svp-lesson-summary>p){color:var(--svp-muted)}
html[data-svp-theme=light] body :is(.svp-card-icon,.svp-process-icon,.svp-platform-chip){color:#08736d;background:#08736d0c;border-color:#08736d66}
html[data-svp-theme=light] body :is(.svp-amazon-choices a,.svp-ecommerce-choices a){background:#fff;color:#08736d;border-color:#7c8698}
html[data-svp-theme=light] body :is(.entry-content,.sidebar) :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=color]):not([type=file]),textarea,select){background:#fff!important;color:#101828!important;border-color:#7c8698!important;color-scheme:light}
html[data-svp-theme=light] body :is(.entry-content,.sidebar) ::placeholder{color:#667085!important;opacity:1}
html[data-svp-theme=light] body :is(table,.wp-block-table table,.entry-content table){background:#fff!important;color:#101828}
html[data-svp-theme=light] body :is(table,.wp-block-table table,.entry-content table) th{background:#f2f4f7!important;color:#101828!important}
html[data-svp-theme=light] body .entry-content :is(td,th){color:#101828!important}
html[data-svp-theme=light] body .sidebar #loginform,html[data-svp-theme=light] body .sidebar .wp-block-loginout{color:#101828!important}
html[data-svp-theme=light] body :is(.entry-content,.sidebar,.svp-legal-navigation) :focus-visible{outline:3px solid #67249b;outline-offset:3px}

/* Deliberate dark brand/media zones: protect original white logos and captions. */
html[data-svp-theme=light] body :is(.site-header,.main-navigation,.slideout-navigation,.site-footer,.footer-widgets,.svp-footer-note,.svp-bc-wrap,.svp-brand-card,.svp-brand-slide,.svp-tool-card,.svp-person-figure,.svp-hero-figure,.svp-google-rating){
 --svp-canvas:#0b0d12;--svp-surface:#151922;--svp-surface-soft:#1e2532;--svp-ink:#f2f4f7;--svp-muted:#b6becb;--svp-link-ink:#69e6dc;--svp-link-hover:#9ceee7;--svp-control-border:#7c889b;--svp-focus:#c9a5ee;--svp-line:#303744;
}
html[data-svp-theme=light] body :is(.svp-brand-card,.svp-brand-slide,.svp-tool-card,.svp-person-figure,.svp-hero-figure,.svp-google-rating){background:#151922;color:#f2f4f7}
html[data-svp-theme=light] body .entry-content :is(.svp-person-figure,.svp-hero-figure,.svp-brand-card,.svp-brand-slide,.svp-google-rating) :is(p,li,h2,h3,strong,figcaption){color:#f2f4f7!important}
html[data-svp-theme=light] .svp-preferences>summary,html[data-svp-theme=light] .svp-preferences-panel{background:#fff;color:#101828}
html[data-svp-theme=light] .svp-preferences-panel button:not([aria-pressed=true]){background:#f2f4f7;color:#101828}
html[data-svp-theme=light] .svp-preferences-panel small{color:#475467}
html[data-svp-theme=light] .svp-preferences :is(button,summary):focus-visible{outline-color:#67249b}
@media(forced-colors:active){.svp-preferences :is(summary,button),.svp-preferences-panel{border-color:ButtonText;background:Canvas;color:CanvasText}.svp-preferences-panel button[aria-pressed=true]{outline:2px solid Highlight}}

/* Override legacy literal reading colours without altering dark artwork. */
html[data-svp-theme=light] body .sidebar :is(h2,h3,.widget-title,label){color:#101828!important}
html[data-svp-theme=light] body .sidebar a:not(.wp-element-button),html[data-svp-theme=light] body.svp-reading .entry-content a:not(.wp-element-button){color:#08736d!important}
html[data-svp-theme=light] body .sidebar input[type=search]{background:#fff!important;color:#101828!important}

html[data-svp-theme=light] body .entry-content .svp-eyebrow{background:#f4edf9;color:#c00068;border-color:#c0006840}
html[data-svp-theme=light] body .svp-business-numbers span{color:#475467}
html[data-svp-theme=light] body.svp-legal-layout #main .entry-content :is(p,li){color:#101828}
html[data-svp-theme=light] body.svp-legal-layout #main .entry-content a{color:#08736d}
html[data-svp-theme=light] body .entry-content :is(.svp-lesson-bad,.svp-lesson-good) span{color:#101828}
html[data-svp-theme=light] body :is(.svp-lesson-good svg,.svp-step-number){color:#067647}
html[data-svp-theme=light] body .svp-lesson-bad svg{color:#b42318}
html[data-svp-theme=light] body .svp-client-logo{background:#151922;border-radius:10px;box-sizing:border-box;padding:8px}
html[data-svp-theme=light] body .svp-comparison figcaption{color:#f2f4f7}
html[data-svp-theme=light] body .svp-ambient-lines{opacity:.08}

html[data-svp-theme=light] body .svp-directory-mark{box-sizing:border-box;width:fit-content;max-width:100%;padding:16px;border-radius:16px;background:#151922;color:#f2f4f7}
html[data-svp-theme=light] body .svp-directory-mark .svp-family-logo{color:#f2f4f7}
html[data-svp-theme=light] body :is(.svp-scope-grid>div,.svp-team-service){background:#ffffffed;border-color:#d0d5dd}
html[data-svp-theme=light] body :is(.svp-service-platforms>span:first-child,.svp-booking-person figcaption,.svp-booking-person strong){color:#475467}
html[data-svp-theme=light] body #main .entry-content a:not(.wp-element-button):not(.svp-brand-slide):not(.svp-video-play),html[data-svp-theme=light] body .svp-legal-navigation a{color:var(--svp-link-ink)!important}

html[data-svp-theme=light] body.svp-reading .sidebar .widget :is(h2,h3,h4,h5,.widget-title,label),html[data-svp-theme=light] body.svp-reading .sidebar .widget :is(h2,h3,h4,h5,.widget-title) span{color:#101828!important}
html[data-svp-theme=light] body.svp-reading .sidebar .widget :is(a,a span){color:#08736d!important}
html[data-svp-theme=light] body.svp-reading .sidebar .widget input[type=search]{background:#fff!important;color:#101828!important}
html[data-svp-theme=light] body.svp-reading #main .entry-content a{color:#08736d!important}

/* A visible destination-language marker; source pages remain Spanish until reviewed. */
a[data-svp-destination-language="ES"]::after{content:" · ES";font-size:.7em;letter-spacing:.03em;white-space:nowrap;opacity:.8}

.svp-mega-card > a[data-svp-destination-language="ES"]{position:relative;padding-bottom:28px!important}
.svp-mega-card > a[data-svp-destination-language="ES"]::after{position:absolute;right:14px;bottom:8px;line-height:1}
@media(min-width:1101px){
 html:is([lang="ca"],[lang="en-GB"]) #masthead :is(.svp-mega-control > a,.main-nav > ul > li > a,.wp-element-button)[data-svp-destination-language="ES"]{position:relative}
 html:is([lang="ca"],[lang="en-GB"]) #masthead :is(.svp-mega-control > a,.main-nav > ul > li > a,.wp-element-button)[data-svp-destination-language="ES"]::after{content:"ES";position:absolute;right:6px;bottom:3px;font-size:11px;line-height:1;opacity:1}
 html:is([lang="ca"],[lang="en-GB"]) #masthead .header-widget{flex-shrink:0;width:auto}
 html:is([lang="ca"],[lang="en-GB"]) #masthead .header-widget :is(.wp-block-button,.wp-element-button){flex-shrink:0;white-space:nowrap}
}
@media(min-width:1101px) and (max-width:1200px){
 html:is([lang="ca"],[lang="en-GB"]) #masthead .site-logo{min-width:155px}
 html:is([lang="ca"],[lang="en-GB"]) #masthead :is(.main-nav > ul > li > a,.svp-mega-control > a){padding-inline:8px;font-size:14px}
 html:is([lang="ca"],[lang="en-GB"]) #masthead .header-widget .wp-element-button{padding-inline:14px;font-size:13px}
}

/* Disclosures open beside the controls, inward; the hover bridge spans only the8px gap. */
body .svp-contact__panel{right:calc(100% + 8px);bottom:0;max-width:calc(100vw - 2 * var(--svp-edge) - 60px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-height:calc(100vh - 2 * var(--svp-edge) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 2 * var(--svp-edge) - env(safe-area-inset-bottom,0px));}
body .svp-contact[open]::before{right:100%;bottom:0;width:8px;height:52px;max-width:none;}
body .svp-contact[open],body .svp-preferences[open]{z-index:102;}
@keyframes svp-contact-in{from{opacity:0;transform:translateX(8px) scale(.98);}to{opacity:1;transform:translateX(0) scale(1);}}
@keyframes svp-contact-out{to{opacity:0;transform:translateX(8px) scale(.98);}}

body .svp-contact[open]>.svp-contact__trigger{transform:none;}

/* Language navigation in the real header and footer, independent of the floating panel. */
body .main-navigation .menu-bar-items .svp-language-entry{display:inline-flex;align-items:center;position:relative;}
body .svp-language-menu{position:relative;color:#f2f4f7;font:600 13px/1.4 "SVP Inter",system-ui,sans-serif;}
body .svp-language-menu>summary{display:flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;min-width:52px;min-height:48px;padding:6px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:10px;}
body .svp-language-menu>summary::-webkit-details-marker{display:none;}
body .svp-language-menu>summary svg{width:20px;height:20px;flex:none;}
body .svp-language-menu[open]>summary,body .svp-language-menu>summary:hover{background:#151922;border-color:#69e6dc;}
body .svp-language-menu-panel{position:absolute;right:0;top:calc(100% + 8px);box-sizing:border-box;width:240px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;padding:12px;background:#151922f5;color:#f2f4f7;border:1px solid #7c889b;border-radius:16px;box-shadow:0 12px 32px #0005;backdrop-filter:blur(12px);z-index:1100;}
body .svp-chrome-language-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;}
body .svp-chrome-language-links>li{float:none;position:static;list-style:none;margin:0;padding:0;}
body .svp-language-menu-panel .svp-chrome-language-links{display:grid;grid-template-columns:1fr;}
body .svp-chrome-language-links a.svp-chrome-language-link{display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 12px;border:1px solid #7c889b;border-radius:10px;color:#f2f4f7;background:#151922;text-decoration:none;font:500 14px/1.4 "SVP Inter",system-ui,sans-serif;white-space:normal;}
body .svp-chrome-language-link>span{font-weight:700;}
body .svp-chrome-language-link>small{font-size:12px;color:#b6becb;margin-left:auto;}
body .svp-chrome-language-links a[aria-current=page]{border-color:#69e6dc;background:#69e6dc16;}
body .svp-chrome-language-links a:hover{border-color:#69e6dc;background:#1e2532;}
body .svp-language-menu>summary:focus-visible,body .svp-chrome-language-links a:focus-visible{outline:3px solid #c9a5ee;outline-offset:3px;}
body .svp-language-fallback{font:400 12px/1.5 "SVP Inter",system-ui,sans-serif;color:#b6becb;margin:12px 0 0;}
body .svp-footer-language{background:#0b0d12cc;border-block:1px solid #64708744;color:#f2f4f7;}
body .svp-footer-language-inner{box-sizing:border-box;width:100%;max-width:1440px;margin-inline:auto;padding:24px 32px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
body .svp-footer-language-inner>p{margin:0;font-size:14px;font-weight:600;}
body .svp-footer-language-inner>.svp-language-fallback{flex-basis:100%;font-weight:400;font-size:12px;}
@media(max-width:600px){body .svp-footer-language-inner{padding:24px 20px;}body .svp-language-menu>summary{min-width:44px;min-height:44px;gap:3px;}body .svp-language-menu>summary svg{width:16px;height:16px;}}
@media(forced-colors:active){body .svp-language-menu-panel,body .svp-chrome-language-links a.svp-chrome-language-link{background:Canvas;color:CanvasText;border-color:ButtonText;}body .svp-chrome-language-links a[aria-current=page]{outline:2px solid Highlight;}}

/* Reserve a single mobile header row for logo, search/language and menu toggle. */
@media(max-width:1100px){
 body #mobile-header{padding-inline:0!important;}
 body #mobile-header .inside-navigation{display:grid!important;grid-template-columns:minmax(0,1fr) auto 44px;column-gap:4px;align-items:center;min-height:72px;width:100%!important;max-width:none!important;margin:0!important;padding-inline:12px!important;}
 body #mobile-header .site-logo.mobile-header-logo{grid-column:1;grid-row:1;order:0;margin:0!important;min-width:0;max-width:200px;width:100%;}
 body #mobile-header .site-logo.mobile-header-logo img{width:100%;max-width:200px;height:auto!important;padding:0;object-fit:contain;}
 body #mobile-header .menu-bar-items{grid-column:2;grid-row:1;order:0;margin:0!important;}
 body #mobile-header .menu-toggle{grid-column:3;grid-row:1;order:0;width:44px;min-width:44px;height:48px;padding:0;margin:0;}
 body #mobile-header .main-nav{grid-column:1/-1;}
 body #mobile-header .menu-bar-items .svp-search-toggle{width:44px;min-height:44px;}
}
