/* Etore V2: shared visual identity. Existing templates and behavior remain in place. */
:root{--paper:#f7f4ec;--surface:#eee9dd;--ink:#253a33;--muted:#58645d;--accent:#944e34;--line:#cecdbf;--leaf:#dfe8da;--dark:#243b32;--white:#fffdf7;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
body{background:var(--paper);color:var(--ink);font-family:var(--sans)}h1,h2,h3,.brand{font-family:var(--serif);font-weight:400}h1,h2{letter-spacing:-.035em}.brand{letter-spacing:-.035em}.brand span,.signature,.eyebrow,.legal-hero .eyebrow,.legal-service .number{color:var(--accent)}header{border-bottom:1px solid var(--line)}a{text-underline-offset:5px}.button,.hero .button{background:var(--dark);color:var(--white);border-radius:5px}.button:hover,.hero .button:hover{background:var(--accent);color:var(--white)}.contact{background:var(--dark);color:var(--white)}.contact h2,.contact p,.contact .email{color:var(--white)}.contact .button{background:var(--surface);color:var(--ink)}.contact .button:hover{background:var(--white);color:var(--ink)}.therapy{background:var(--leaf)}.whatsapp-float{background:var(--dark)}.whatsapp-float:hover{background:var(--accent)}.legal-limits{border-color:var(--accent)}.legal-text-link:hover{color:var(--accent)}.article-area{max-width:1120px}.article-reading{max-width:720px}.article-area h1{font-size:clamp(2.3rem,5vw,3.7rem);line-height:1.15}.article-area p,.legal-intro{color:var(--muted)}.article-list>li{border-color:var(--line)}.article-area .article-list>li{padding:28px;border-radius:12px;background:var(--surface);margin-bottom:18px}.article-area .article-list h2{margin-top:0}.article-area a:not(.button){text-decoration:underline}.article-contact{border-color:var(--line)}.privacy-controls{background:var(--white);color:var(--ink);border-color:var(--line)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.contact a:focus-visible,.whatsapp-float:focus-visible{outline-color:var(--white);box-shadow:0 0 0 7px var(--dark)}header nav a,.language-switch a{min-height:44px;display:inline-flex;align-items:center}.legal-teaser .button{border-color:var(--dark)}
@media(max-width:850px){header nav{display:flex;flex-wrap:wrap;order:3;flex-basis:100%;gap:4px 18px}.legal-hero h1{font-size:clamp(2.2rem,8vw,3.4rem)}.legal-service h3{font-size:24px}.article-area .article-list>li{padding:22px}.article-area h1{overflow-wrap:anywhere}.button{white-space:normal}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.whatsapp-float{transition:none}}

/* QA F1: keep small contact labels readable on the dark contact background. */
.contact .eyebrow{color:var(--white)}
/* QA F2: the persistent contact link participates in footer flow, never overlays reading. */
footer{flex-wrap:wrap}
footer .whatsapp-float{position:static;inset:auto;z-index:auto;flex:0 0 62px;width:62px;height:62px;margin:8px 0;transform:none;align-self:center}
footer .whatsapp-float:hover{transform:none}

/* QA F3: dual focus ring has a light and dark boundary on either surface. */
a:focus-visible,button:focus-visible,summary:focus-visible,.contact a:focus-visible,.contact button:focus-visible,.contact summary:focus-visible,.whatsapp-float:focus-visible,.privacy summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 3px var(--white)}
.contact summary .plus{color:var(--white)}

/* Compact the textual wordmark on narrow headers without scaling or distorting glyphs. */
@media(max-width:700px){
 header .brand{display:inline-flex;align-items:baseline;gap:4px;font-size:clamp(18px,5vw,20px);line-height:1.2;min-height:24px;flex-shrink:0}
}

/* Keep the wordmark contiguous at every breakpoint, with no anonymous flex text. */
header .brand{display:inline-flex;align-items:baseline;gap:0;width:max-content;max-width:100%;white-space:nowrap;flex:0 0 auto;letter-spacing:-.035em;overflow-wrap:normal}
header .brand>span{display:inline;flex:none;margin:0;padding:0}
header .brand .brand-prefix{color:#00745f;font-weight:800}
header .brand .brand-name{color:var(--ink);font-weight:400}
header .brand .brand-surname{color:var(--accent);font-weight:400}

header .brand{font-size:28px}
@media(max-width:700px){header .brand{font-size:22px}}

/* One type scale for the complete wordmark on home, services and articles. */
header .brand{font-family:Georgia,"Times New Roman",serif;line-height:1.2;font-style:normal}
header .brand>span{font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-style:inherit}
