/* Migliorie AgaLab: accessibilita, contenuti, informative e preferenze. */
:root { --agalab-pink: #a81c51; --agalab-ink: #262126; --agalab-muted: #595159; --agalab-soft: #fcf5f8; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--agalab-pink); outline-offset: 4px; }
.agalab-skip { position: fixed; left: 12px; top: -100px; z-index: 2147483647; padding: 10px 18px; background: #fff; color: #000; }
.agalab-skip:focus { top: 12px; }
.agalab-intro { padding-top: 135px; padding-bottom: 65px; text-align: center; }
.agalab-eyebrow { color: var(--agalab-pink); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.agalab-intro h1 { max-width: 880px; margin: 14px auto 20px; font-family: 'Josefin Sans', sans-serif; font-size: clamp(32px, 5vw, 58px); line-height: 1.12; color: var(--agalab-ink); }
.agalab-intro > p:not(.agalab-eyebrow) { max-width: 680px; margin: 0 auto 28px; font-size: 19px; line-height: 1.65; }
.agalab-action { display: inline-block; margin: 5px; border: 2px solid var(--agalab-pink); border-radius: 5px; padding: 11px 22px; background: var(--agalab-pink); color: #fff !important; font: 700 17px/1.4 'PT Sans Narrow', sans-serif; cursor: pointer; text-decoration: none; transition: background .15s; }
.agalab-action:hover { background: #84123e; border-color: #84123e; color: #fff; }
.agalab-action-outline { color: var(--agalab-pink) !important; background: #fff; }
.agalab-action-outline:hover { color: #fff !important; }
.total-overlay-trigger, .total-overlay-sticky-close { box-sizing: border-box; border: 0; background: transparent; cursor: pointer; width: 44px; height: 44px; padding: 0; }
.total-overlay-trigger { top: 28px; right: 4%; }
.total-overlay-trigger::before, .header-animate .total-overlay-trigger::before { top: 8px; right: 8px; padding: 0; }
.total-overlay-sticky-close { position: absolute; top: 20px; right: 30px; }
.total-overlay-sticky-close::before { top: 8px; right: 8px; left: auto; width: auto; }
.total-overlay-sticky #navigation { box-sizing: border-box; }
.portfolio picture { display: block; }
.portfolio picture img { display: block; width: 100%; height: auto; }
.portfolio-title h3 { font-size: 20px; line-height: 1.35; margin: 0 0 5px; }
.portfolio-title h3 a { color: #fff; }
.agalab-contact { padding-top: 55px; padding-bottom: 55px; }
.agalab-contact::after { content: ''; display: table; clear: both; }
.agalab-contact label { display: block; margin-bottom: 6px; font-weight: bold; color: var(--agalab-ink); }
.agalab-contact input.input-field, .agalab-contact textarea.input-field { box-sizing: border-box; width: 100%; }
.agalab-contact-details { overflow-wrap: anywhere; padding-top: 12px; }
.agalab-contact-details h3 { font-size: 24px; line-height: 1.3; }
.agalab-contact-details a, .agalab-form-note a { color: var(--agalab-pink); text-decoration: underline; }
.agalab-form-note { clear: both; font-size: 15px; line-height: 1.55; }
.agalab-contact label.error { color: #9b123e; font-size: 15px; line-height: 1.35; }
.agalab-contact [type=submit]:disabled { opacity: .6; cursor: wait; }
.agalab-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); left: -10000px; }
.agalab-footer { clear: both; background: var(--agalab-soft); border-top: 1px solid #ecdce3; text-align: center; padding: 30px 18px 22px; }
#footer.agalab-footer { box-sizing: border-box; padding: 30px 18px 22px; }
#footer.agalab-footer::before { content: none; }
.agalab-footer p { margin: 0 0 14px; color: #51454b; line-height: 1.6; }
.agalab-footer a { color: #832044; text-decoration: underline; }
.agalab-policy-links { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 18px; }
.agalab-credit { font-size: 14px; }
.agalab-cookie-dialog { box-sizing: border-box; width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #e7cbd8; border-radius: 12px; background: #fff; color: var(--agalab-ink); box-shadow: 0 18px 60px #0004; font-family: 'PT Sans Narrow', sans-serif; font-size: 18px; line-height: 1.55; overflow: auto; }
.agalab-cookie-dialog::backdrop { background: #21111bb3; }
.agalab-cookie-dialog:not([open]) { display: none; }
.agalab-dialog-inner { padding: 30px; }
.agalab-cookie-dialog h2 { font: 400 29px/1.2 'Josefin Sans', sans-serif; margin: 0 0 18px; color: var(--agalab-ink); }
.agalab-cookie-dialog p { margin: 0 0 18px; color: var(--agalab-muted); }
.agalab-cookie-dialog a { color: #8f1743; text-decoration: underline; }
.agalab-cookie-category { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; background: var(--agalab-soft); padding: 16px; border-radius: 7px; margin-bottom: 20px; }
.agalab-cookie-category > div { flex: 1 1 250px; }
.agalab-cookie-category p { font-size: 16px; margin: 5px 0 0; }
.agalab-cookie-badge { border: 1px solid #c9dacc; color: #275a35; background: #f0f8f1; padding: 3px 8px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.agalab-legal { margin: 0; color: var(--agalab-ink); background: #fff; font-family: 'PT Sans Narrow', Arial, sans-serif; font-size: 19px; line-height: 1.65; }
.agalab-legal *, .agalab-legal *::before, .agalab-legal *::after { box-sizing: border-box; }
.agalab-legal a { color: #8f1743; text-decoration: underline; }
.agalab-legal-header { border-bottom: 1px solid #ecdce3; padding: 18px max(22px, calc((100% - 920px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.agalab-legal-brand { font: 400 32px/1 'Josefin Sans', sans-serif; text-decoration: none !important; }
.agalab-legal main { max-width: 920px; padding: 45px 22px 65px; margin: 0 auto; }
.agalab-legal h1 { font: 400 clamp(32px, 5vw, 46px)/1.2 'Josefin Sans', sans-serif; margin: 0 0 14px; }
.agalab-legal h2 { font: 400 27px/1.3 'Josefin Sans', sans-serif; margin: 36px 0 12px; }
.agalab-legal p { margin: 0 0 18px; }
.agalab-legal ul { padding-left: 22px; }
.agalab-legal li { margin-bottom: 10px; }
.agalab-legal .agalab-legal-date { color: #71626c; font-size: 16px; }
.agalab-legal .agalab-callout { border-left: 4px solid var(--agalab-pink); background: var(--agalab-soft); padding: 18px 22px; }
.agalab-legal table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.agalab-legal td, .agalab-legal th { text-align: left; border: 1px solid #e7d8df; padding: 12px; vertical-align: top; }
.agalab-legal th { background: var(--agalab-soft); }
@media (max-width: 767px) {
    .agalab-intro { padding-top: 125px; padding-bottom: 40px; }
    .agalab-intro > p:not(.agalab-eyebrow) { font-size: 18px; }
    .agalab-contact { padding-top: 35px; }
    .agalab-contact-details { clear: both; width: 100% !important; margin: 25px 0 0 !important; }
    .agalab-dialog-inner { padding: 23px; }
    .agalab-legal-header { padding: 18px 22px; font-size: 16px; }
    .agalab-legal main { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
