:root{
  --tm-ink:#152319;--tm-green:#14271a;--tm-green2:#2d4332;--tm-moss:#718061;
  --tm-gold:#b18a4f;--tm-gold2:#c6a66f;--tm-sand:#f4f0e7;--tm-sand2:#faf8f3;
  --tm-line:#ddd7cc;--tm-muted:#70786f;--tm-white:#fff;--tm-shell:1410px;--tm-radius:22px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f5ee;color:var(--tm-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}.tm-shell{width:min(calc(100% - 56px),var(--tm-shell));margin-inline:auto}.tm-kicker{display:block;font-size:10px;line-height:1.2;font-weight:700;letter-spacing:.18em;color:var(--tm-moss)}.tm-kicker-light{color:rgba(255,255,255,.72)}.tm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;padding:10px 17px;text-decoration:none;font-size:12px;font-weight:650;transition:.22s;border:1px solid transparent;white-space:nowrap}.tm-btn-dark{background:var(--tm-green);color:#fff}.tm-btn-dark:hover{background:#223a28;transform:translateY(-1px)}.tm-btn-light{background:#fff;color:var(--tm-ink)}.tm-btn-light:hover{background:#f3efe7;transform:translateY(-1px)}

/* Header: transparent on home, no divider line. */
.tm-header{z-index:1000;transition:background .25s ease,backdrop-filter .25s ease;box-shadow:none;border:0}.tm-header-home{position:fixed;left:0;right:0;top:0;background:transparent}.admin-bar .tm-header-home{top:32px}.tm-header-home.scrolled{background:rgba(14,29,19,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.tm-header-page{position:sticky;top:0;background:rgba(248,245,238,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.admin-bar .tm-header-page{top:32px}.tm-header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}.tm-brand{display:flex;align-items:center;flex:0 0 auto}.tm-brand img{display:block;width:164px;max-height:59px;object-fit:contain}.tm-header-home .tm-brand img{filter:drop-shadow(0 4px 14px rgba(0,0,0,.14))}.tm-nav{display:flex;align-items:center;gap:9px}.tm-nav ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0 16px 0 0;padding:0}.tm-nav ul a{font-size:12px;text-decoration:none;font-weight:600;transition:.18s}.tm-header-home .tm-nav ul a{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.2)}.tm-header-page .tm-nav ul a{color:#27342a}.tm-nav ul a:hover{color:var(--tm-gold2)}.tm-btn-header{background:#fff;color:var(--tm-ink);border-color:rgba(255,255,255,.52)}.tm-header-page .tm-btn-header{background:var(--tm-green);color:#fff}.tm-btn-header-ghost{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.55)!important}.tm-header-page .tm-btn-header-ghost{color:var(--tm-ink)!important;border-color:#d5cfc3!important}.tm-menu-toggle{display:none;border:0;background:transparent;padding:8px;z-index:3}.tm-menu-toggle span{display:block;width:23px;height:1px;margin:6px 0;background:currentColor}.tm-header-home .tm-menu-toggle{color:#fff}.tm-header-page .tm-menu-toggle{color:var(--tm-ink)}

/* Controlled typography: no billboard-sized headings. */
.tm3-hero h1,.tm3-copy h2,.tm3-section-head h2,.tm3-enterprise-intro h2,.tm3-projects h2,.tm3-final h2{font-weight:500;letter-spacing:-.035em}.tm3-copy h2,.tm3-section-head h2,.tm3-enterprise-intro h2,.tm3-projects h2{font-size:clamp(30px,2.5vw,38px);line-height:1.08;margin:12px 0 16px}.tm3-copy>p,.tm3-section-head>p{font-size:13.5px;line-height:1.65;color:var(--tm-muted);max-width:660px;margin:0}.tm3-note{margin-top:18px!important;padding:14px 16px;border-left:2px solid var(--tm-gold);background:rgba(177,138,79,.07);font-size:12px!important}.tm3-note-dark{color:#c7d0c5!important;background:rgba(255,255,255,.06);border-left-color:#c9a66d}

/* Hero */
.tm3-hero{position:relative;min-height:100svh;display:flex;align-items:center;overflow:hidden;background:#102116}.tm3-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tm3-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,24,15,.84) 0%,rgba(10,24,15,.63) 44%,rgba(10,24,15,.34) 72%,rgba(10,24,15,.24) 100%),linear-gradient(0deg,rgba(10,23,14,.38),transparent 45%)}.tm3-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,.82fr) minmax(520px,1.18fr);align-items:center;gap:58px;padding-top:116px;padding-bottom:54px}.tm3-hero-copy{color:#fff;max-width:600px}.tm3-hero h1{font-size:clamp(38px,3.6vw,52px);line-height:1.04;margin:18px 0 20px;max-width:590px}.tm3-hero h1 em{display:block;font-style:normal;color:#d1b274}.tm3-hero-copy>p{margin:0;max-width:585px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.68}.tm3-actions{display:flex;align-items:center;gap:20px;margin-top:26px}.tm3-text-link{display:inline-flex;align-items:center;gap:7px;color:#fff;text-decoration:none;font-size:12px;font-weight:650}.tm3-text-link span{transition:.18s}.tm3-text-link:hover span{transform:translateX(3px)}.tm3-dashboard-shot{margin:0;overflow:hidden;border-radius:20px;background:rgba(18,35,23,.78);border:1px solid rgba(255,255,255,.18);box-shadow:0 30px 80px rgba(0,0,0,.28);backdrop-filter:blur(10px)}.tm3-dashboard-shot img{display:block;width:100%;aspect-ratio:4.1/1;object-fit:cover;object-position:center top}.tm3-shot-bar{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:#d7e0d5;font-size:8px;letter-spacing:.12em}.tm3-shot-bar b{font-size:8px;display:flex;align-items:center;gap:7px}.tm3-shot-bar b i{display:block;width:7px;height:7px;border-radius:50%;background:#84a96f;box-shadow:0 0 0 5px rgba(132,169,111,.12)}.tm3-dashboard-shot figcaption{padding:10px 14px 12px;color:#b9c5b7;font-size:10px}

/* Full-view sections on desktop. */
.tm3-panel{min-height:100svh;display:flex;align-items:center;padding:92px 0 70px;scroll-margin-top:74px}.tm3-split{display:grid;grid-template-columns:.86fr 1.14fr;gap:88px;align-items:center}.tm3-manifesto{background:#fbf9f4}.tm3-principles{border-top:1px solid var(--tm-line)}.tm3-principles article{display:grid;grid-template-columns:44px 1fr;gap:18px;padding:19px 0;border-bottom:1px solid var(--tm-line)}.tm3-principles>article>span{font-size:9px;color:var(--tm-gold);padding-top:4px}.tm3-principles h3{font-size:19px;letter-spacing:-.02em;margin:0 0 4px;font-weight:600}.tm3-principles p{font-size:11.5px;line-height:1.55;color:var(--tm-muted);margin:0;max-width:630px}

/* How it works */
.tm3-how{background:#f2eee5}.tm3-section-head{max-width:780px}.tm3-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:34px}.tm3-steps article{min-height:260px;padding:18px;border:1px solid #d8d2c6;border-radius:18px;background:rgba(255,255,255,.45);display:flex;flex-direction:column;transition:.2s}.tm3-steps article:hover{background:#fff;transform:translateY(-2px)}.tm3-steps article>span{font-size:9px;color:var(--tm-gold)}.tm3-steps h3{font-size:21px;margin:34px 0 8px;letter-spacing:-.025em;font-weight:600}.tm3-steps p{font-size:11px;line-height:1.55;color:var(--tm-muted);margin:0 0 22px}.tm3-steps b{margin-top:auto;font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#9a7b4c}.tm3-steps em{font-size:10px;line-height:1.45;color:#475149;font-style:normal;margin-top:4px}

/* Enterprise: compact master/detail, one active item only. */
.tm3-enterprise{background:#ece6da;align-items:stretch;padding:74px 0 54px}.tm3-enterprise-layout{display:grid;grid-template-columns:minmax(285px,.58fr) minmax(0,1.42fr);gap:22px;align-items:stretch}.tm3-enterprise-intro{position:relative;border-radius:22px;overflow:hidden;background:#12271a;color:#fff;padding:26px;display:flex;flex-direction:column;min-height:calc(100svh - 128px)}.tm3-enterprise-intro figure{margin:-26px -26px 24px;height:31vh;min-height:210px;max-height:290px;overflow:hidden}.tm3-enterprise-intro figure img{width:100%;height:100%;object-fit:cover}.tm3-enterprise-intro h2{font-size:30px;line-height:1.08;margin:12px 0 14px}.tm3-enterprise-intro>p{font-size:12px;line-height:1.62;color:#b7c4b7;margin:0}.tm3-method{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:22px;font-size:9px;color:#d8e0d6;text-transform:uppercase;letter-spacing:.08em}.tm3-method i{width:18px;height:1px;background:#8c9c8c}.tm3-enterprise-work{background:#faf8f3;border:1px solid #ddd6ca;border-radius:22px;padding:20px;display:flex;flex-direction:column;min-height:calc(100svh - 128px)}.tm3-enterprise-head{display:grid;grid-template-columns:.5fr 1fr;gap:30px;align-items:end;margin-bottom:14px}.tm3-enterprise-head h3{font-size:22px;margin:5px 0 0;letter-spacing:-.02em}.tm3-enterprise-head>p{font-size:10.5px;line-height:1.55;color:var(--tm-muted);margin:0}.tm3-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.tm3-service-tab{appearance:none;border:1px solid #ded7ca;background:#f7f3eb;border-radius:11px;min-height:39px;padding:8px 10px;display:grid;grid-template-columns:24px 1fr 16px;align-items:center;text-align:left;cursor:pointer;color:var(--tm-ink);transition:.16s}.tm3-service-tab span{font-size:7px;color:#a98550}.tm3-service-tab b{font-size:10px;font-weight:650}.tm3-service-tab i{font-style:normal;font-size:11px;color:#827863;text-align:right}.tm3-service-tab:hover,.tm3-service-tab.active{background:#fff;border-color:#bda980;box-shadow:0 5px 16px rgba(24,35,26,.04)}.tm3-service-tab.active i{color:var(--tm-gold);transform:rotate(45deg)}.tm3-service-details{margin-top:9px}.tm3-service-detail{display:none;border:1px solid #d8d1c5;border-radius:14px;background:#fff;padding:14px}.tm3-service-detail.active{display:block}.tm3-service-title{display:grid;grid-template-columns:30px 1fr;gap:10px;padding-bottom:11px;border-bottom:1px solid #eee9df}.tm3-service-title>span{font-size:8px;color:#a98550;padding-top:3px}.tm3-service-title h4{font-size:18px;margin:0 0 3px;letter-spacing:-.018em}.tm3-service-title p{font-size:10.5px;line-height:1.45;color:#697269;margin:0}.tm3-service-columns{display:grid;grid-template-columns:1.25fr .85fr 1fr;gap:16px;padding-top:11px}.tm3-service-columns b{display:block;font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:#9a7848;margin-bottom:5px}.tm3-service-columns p{font-size:9.5px;line-height:1.5;color:#626a63;margin:0}.tm3-enterprise-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding-top:11px}.tm3-enterprise-cta p{font-size:9.5px;color:#6e766f;margin:0;max-width:620px}

/* Vision */
.tm3-vision{background:#142419;color:#fff}.tm3-vision-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:56px;align-items:center}.tm3-vision .tm3-copy h2{color:#fff}.tm3-vision .tm3-copy>p{color:#b8c3b7}.tm3-vision-flow{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:22px 0 0;font-size:9px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#d6c09a}.tm3-vision-flow i{font-style:normal;color:#7b8e7c}.tm3-video{overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:#0c160f}.tm3-video video{display:block;width:100%;aspect-ratio:16/9;max-height:520px;object-fit:cover;background:#000}.tm3-video>div{display:grid;grid-template-columns:150px .75fr 1fr;gap:20px;align-items:start;padding:16px 18px}.tm3-video>div>span{font-size:8px;letter-spacing:.11em;color:#cfb277}.tm3-video h3{font-size:18px;margin:0;letter-spacing:-.02em}.tm3-video p{font-size:10px;line-height:1.5;color:#aab6a9;margin:0}

/* Projects */
.tm3-projects{background:#f7f3eb}.tm3-project-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:78px;align-items:center}.tm3-projects .tm3-copy .tm-btn{margin-top:22px}.tm3-project-flow{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d7d1c6}.tm3-project-flow article{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:17px 14px;border-bottom:1px solid #d7d1c6}.tm3-project-flow article:nth-child(odd){border-right:1px solid #d7d1c6}.tm3-project-flow>article>span{font-size:8px;color:#a98550;padding-top:3px}.tm3-project-flow h3{font-size:17px;margin:0 0 4px;letter-spacing:-.015em}.tm3-project-flow p{font-size:10.5px;line-height:1.5;color:#727a72;margin:0}

/* Final CTA */
.tm3-final{background:#17291c;color:#fff;padding:58px 0}.tm3-final-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.tm3-final h2{font-size:30px;line-height:1.1;margin:10px 0 0;max-width:560px}.tm3-final-grid>div:last-child>p{font-size:12px;line-height:1.6;color:#b7c2b6;margin:0;max-width:560px}

/* Inner pages */
.tm-app-page{padding:24px 0 48px;background:#f8f5ee;min-height:calc(100vh - 78px)}.tm-app-shell{width:min(calc(100% - 24px),1800px);max-width:none}.tm-content-app{width:100%}.tm-content-app>p:empty{display:none}.tm-page{max-width:960px}.tm-page-head{padding:24px 0}.tm-page-head h1{font-size:38px;letter-spacing:-.035em;font-weight:500;margin:10px 0}.tm-content{font-size:15px;line-height:1.7}.tm-content h2{font-size:28px;letter-spacing:-.025em}

/* Console pages remain application-like and separate from the public site. */
body.tm-console-page{background:#f6f3ec;overflow-x:hidden}.tm-console-page .tm-console-main{min-height:100vh}.tm-console-page .tm-app-page{padding:0;min-height:100vh;background:#f6f3ec}.tm-console-page .tm-app-shell{width:100%;max-width:none;margin:0}.tm-console-page .tm-content-app{width:100%;margin:0;padding:0}.tm-console-page .tm-content-app>p{margin:0}.tm-console-page .tmcore-app{width:100%;min-height:100vh;margin:0;border:0;border-radius:0;box-shadow:none;grid-template-columns:248px minmax(0,1fr)}.tm-console-page .tmcore-side{min-height:100vh;position:sticky;top:0}.tm-console-page .tmcore-main{min-height:100vh}

/* Footer */
.tm-footer{background:#0f1a12;color:#bdc8bc;padding:46px 0 16px}.tm-footer-top{display:grid;grid-template-columns:1.8fr .7fr .7fr .7fr;gap:50px;padding-bottom:34px}.tm-footer-logo{width:145px;background:#f7f4ed;border-radius:9px;padding:4px}.tm-footer-brand p{font-size:10.5px;line-height:1.6;color:#829081;max-width:340px}.tm-footer h4{font-size:8px;letter-spacing:.14em;color:#91a08f;margin:8px 0 14px;text-transform:uppercase}.tm-footer-top>div:not(:first-child){display:flex;flex-direction:column;gap:8px}.tm-footer a{font-size:10.5px;color:#c1cbc0;text-decoration:none}.tm-footer a:hover{color:#fff}.tm-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:14px;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#697868}

/* Reveal */
.tm-reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}.tm-reveal.in{opacity:1;transform:none}

@media(max-width:1180px){
  .tm3-hero-grid{grid-template-columns:.8fr 1.2fr;gap:34px}.tm3-hero h1{font-size:44px}.tm3-split{gap:55px}.tm3-steps{grid-template-columns:repeat(3,1fr)}.tm3-steps article{min-height:220px}.tm3-enterprise-layout{grid-template-columns:.48fr 1.52fr}.tm3-service-columns{grid-template-columns:1fr 1fr}.tm3-service-columns>div:last-child{grid-column:1/-1}.tm3-vision-grid,.tm3-project-grid{gap:42px}
}
@media(max-width:960px){
  .admin-bar .tm-header-home,.admin-bar .tm-header-page{top:46px}.tm-shell{width:min(calc(100% - 30px),var(--tm-shell))}.tm-header-inner{height:70px}.tm-brand img{width:142px}.tm-menu-toggle{display:block}.tm-nav{position:absolute;left:15px;right:15px;top:62px;padding:15px;border-radius:17px;display:none;flex-direction:column;align-items:stretch;box-shadow:0 22px 55px rgba(0,0,0,.17)}.tm-nav.open{display:flex}.tm-header-home .tm-nav{background:rgba(15,31,20,.96);backdrop-filter:blur(16px)}.tm-header-page .tm-nav{background:#faf8f3}.tm-nav ul{margin:0 0 8px;display:grid;gap:0}.tm-nav ul li{border-bottom:1px solid rgba(255,255,255,.1)}.tm-header-page .tm-nav ul li{border-color:#e6e0d6}.tm-nav ul a{display:block;padding:10px 2px}.tm-nav>.tm-btn{width:100%}.tm-header-page .tm-btn-header-ghost{color:var(--tm-ink)!important}.tm3-hero{min-height:auto}.tm3-hero-grid{grid-template-columns:1fr;padding-top:104px;padding-bottom:55px}.tm3-hero-copy{max-width:680px}.tm3-dashboard-shot{max-width:780px}.tm3-panel{min-height:auto;padding:76px 0}.tm3-split,.tm3-vision-grid,.tm3-project-grid{grid-template-columns:1fr;gap:35px}.tm3-steps{grid-template-columns:1fr 1fr}.tm3-enterprise{padding:70px 0}.tm3-enterprise-layout{grid-template-columns:1fr}.tm3-enterprise-intro,.tm3-enterprise-work{min-height:0}.tm3-enterprise-intro figure{height:310px}.tm3-service-columns{grid-template-columns:1fr 1fr}.tm3-vision .tm3-copy{max-width:760px}.tm3-video>div{grid-template-columns:1fr;gap:8px}.tm3-project-flow{grid-template-columns:1fr 1fr}.tm3-final-grid{grid-template-columns:1fr;gap:25px}.tm-footer-top{grid-template-columns:1.5fr 1fr 1fr;gap:30px}.tm-footer-top>div:last-child{grid-column:2}
}
@media(max-width:640px){
  .tm-shell{width:min(calc(100% - 22px),var(--tm-shell))}.tm3-hero-grid{padding-top:94px}.tm3-hero h1{font-size:36px}.tm3-hero-copy>p{font-size:13px}.tm3-actions{flex-direction:column;align-items:flex-start;gap:13px}.tm3-dashboard-shot figcaption{font-size:9px}.tm3-panel{padding:62px 0}.tm3-copy h2,.tm3-section-head h2,.tm3-enterprise-intro h2,.tm3-projects h2{font-size:29px}.tm3-copy>p,.tm3-section-head>p{font-size:12.5px}.tm3-principles article{grid-template-columns:32px 1fr}.tm3-steps{grid-template-columns:1fr}.tm3-steps article{min-height:190px}.tm3-enterprise-intro{padding:20px}.tm3-enterprise-intro figure{margin:-20px -20px 20px;height:230px}.tm3-enterprise-work{padding:14px}.tm3-enterprise-head{grid-template-columns:1fr;gap:8px}.tm3-service-grid{grid-template-columns:1fr}.tm3-service-columns{grid-template-columns:1fr}.tm3-service-columns>div:last-child{grid-column:auto}.tm3-enterprise-cta{align-items:flex-start;flex-direction:column}.tm3-video>div{padding:14px}.tm3-project-flow{grid-template-columns:1fr}.tm3-project-flow article:nth-child(odd){border-right:0}.tm3-final{padding:46px 0}.tm3-final h2{font-size:26px}.tm-footer-top{grid-template-columns:1fr 1fr}.tm-footer-brand{grid-column:1/-1}.tm-footer-top>div:last-child{grid-column:auto}.tm-footer-bottom{flex-direction:column}.tm-page-head h1{font-size:32px}.tm-console-page .tmcore-app{grid-template-columns:1fr}.tm-console-page .tmcore-side{position:fixed}
}

/* === TresMontes 3.8 · Production polish === */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tm3-hero-grid-single{grid-template-columns:minmax(0,720px);justify-content:start;min-height:100svh;padding-top:128px;padding-bottom:82px}
.tm3-hero-grid-single .tm3-hero-copy{max-width:720px}
.tm3-hero-grid-single .tm3-hero-copy>p{max-width:650px}
.tm3-hero-proof{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:28px;color:rgba(255,255,255,.66);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.tm3-hero-proof i{width:18px;height:1px;background:rgba(255,255,255,.35)}
.tm3-panel{min-height:calc(100svh - 78px);scroll-margin-top:78px}

/* Footer: same transparent white brand as the header, no card behind the logo. */
.tm-footer{background:#0d1a11;color:#bdc8bc;padding:52px 0 18px}
.tm-footer-top{grid-template-columns:1.7fr repeat(4,minmax(120px,.62fr));gap:42px;padding-bottom:38px;align-items:start}
.tm-footer-logo{display:block;width:178px;max-height:72px;object-fit:contain;background:transparent;border-radius:0;padding:0;filter:drop-shadow(0 4px 14px rgba(0,0,0,.12))}
.tm-footer-brand p{font-size:11.5px;line-height:1.65;color:#899889;max-width:360px;margin:16px 0 0}
.tm-footer h4{font-size:9px;letter-spacing:.14em;color:#a2ad9f;margin:5px 0 15px;text-transform:uppercase}
.tm-footer-top>div:not(:first-child){display:flex;flex-direction:column;gap:9px}
.tm-footer a{font-size:11.5px;color:#c8d0c6;text-decoration:none;transition:.18s}
.tm-footer a:hover{color:#fff;transform:translateX(2px)}
.tm-footer-brand a:hover{transform:none}
.tm-footer-bottom{border-top:1px solid rgba(255,255,255,.09);padding-top:16px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#718071}

/* Legal pages */
.tm-legal-page{background:#f8f5ee;padding:54px 0 84px;min-height:calc(100vh - 78px)}
.tm-legal-shell{max-width:1080px}
.tm-legal-head{padding:26px 0 30px;border-bottom:1px solid var(--tm-line)}
.tm-legal-head h1{font-size:clamp(34px,4vw,54px);line-height:1.02;letter-spacing:-.045em;font-weight:520;margin:12px 0 0;max-width:850px}
.tm-legal-content{padding-top:28px}
.tm-legal-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#8b8f87;margin-bottom:24px}
.tm-legal-intro{font-size:18px;line-height:1.55;max-width:850px;color:#344238;padding:0 0 26px}
.tm-legal-content section{padding:24px 0;border-top:1px solid #e0d9cd}
.tm-legal-content section:first-of-type{border-top:0}
.tm-legal-content h2{font-size:22px;line-height:1.2;letter-spacing:-.025em;margin:0 0 10px;font-weight:650}
.tm-legal-content p,.tm-legal-content li{font-size:14px;line-height:1.7;color:#59635b}
.tm-legal-content p{margin:0;max-width:920px}.tm-legal-content ul{margin:8px 0 0;padding-left:20px;max-width:920px}.tm-legal-content a{color:#193321;font-weight:650;text-underline-offset:3px}

@media(max-width:1180px){
  .tm-footer-top{grid-template-columns:1.4fr repeat(2,1fr)}
  .tm-footer-top>div:nth-child(4),.tm-footer-top>div:nth-child(5){grid-column:auto}
}
@media(max-width:960px){
  .tm3-hero-grid-single{min-height:auto;padding-top:116px;padding-bottom:80px}
  .tm-footer-top{grid-template-columns:1fr 1fr 1fr}.tm-footer-brand{grid-column:1/-1}
}
@media(max-width:640px){
  .tm3-hero-grid-single{padding-top:106px;padding-bottom:66px}.tm3-hero-proof{gap:8px;font-size:9px}
  .tm-footer{padding-top:40px}.tm-footer-top{grid-template-columns:1fr 1fr;gap:28px}.tm-footer-brand{grid-column:1/-1}.tm-footer-logo{width:155px}
  .tm-legal-page{padding:26px 0 56px}.tm-legal-head{padding-top:18px}.tm-legal-head h1{font-size:34px}.tm-legal-intro{font-size:16px}.tm-legal-content h2{font-size:20px}.tm-legal-content p,.tm-legal-content li{font-size:13px}
}

/* === TresMontes 3.9 · Mobile-first production pass === */
.tm-brand img,.tm-footer-logo{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
.tm-brand img{width:170px;max-height:64px;object-fit:contain}
.tm-header{border:0!important;box-shadow:none!important}
.tm-header-home.scrolled,.tm-header-page{border-bottom:0!important;box-shadow:none!important}

/* Hero: the first mobile screen belongs entirely to the story, not to UI chrome. */
.tm3-hero-grid-single{min-height:100svh;display:flex;align-items:center;padding-top:118px;padding-bottom:70px}
.tm3-hero-grid-single .tm3-hero-copy{max-width:690px}
.tm3-hero-grid-single .tm3-actions{margin-top:24px}
.tm3-hero-proof{margin-top:24px}

/* Enterprise: four families first, then one capability at a time. */
.tm3-service-groups{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}
.tm3-service-group{appearance:none;border:1px solid #d8d1c4;background:#f4f0e7;color:#586158;border-radius:999px;min-height:34px;padding:7px 12px;font-size:9.5px;font-weight:700;cursor:pointer;transition:.16s}
.tm3-service-group:hover,.tm3-service-group.active{background:#173020;border-color:#173020;color:#fff}
.tm3-service-select-wrap{display:none}
.tm3-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tm3-service-tab[hidden]{display:none!important}
.tm3-service-tab{min-height:44px;padding:9px 11px}
.tm3-service-tab b{font-size:10.5px}
.tm3-service-detail{padding:15px}
.tm3-service-title h4{font-size:17px}
.tm3-service-title p{font-size:10.5px}
.tm3-service-columns{gap:14px}
.tm3-service-columns p{font-size:9.5px}
.tm3-enterprise-head{margin-bottom:11px}
.tm3-enterprise-head>p{max-width:680px}
.tm3-enterprise-cta{padding-top:12px}

/* Footer brand: same clean transparent mark as the header. */
.tm-footer-logo{width:176px;max-height:70px;object-fit:contain;filter:none!important}

/* Auth page should feel like one product surface, not a WordPress page. */
body.tm-page-aderisci .tm-app-page{padding-top:34px}

@media(max-width:960px){
  body.tm-nav-open{overflow:hidden}
  .tm-header-inner{height:68px}
  .tm-brand img{width:145px;max-height:52px}
  .tm-menu-toggle{display:block;position:relative;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.1);padding:9px}
  .tm-header-page .tm-menu-toggle{background:#f0ece4}
  .tm-menu-toggle span{position:absolute;left:10px;right:10px;top:18px;width:auto;margin:0;transition:.18s}
  .tm-menu-toggle span+span{top:24px}
  .tm-menu-toggle[aria-expanded="true"] span{top:21px;transform:rotate(45deg)}
  .tm-menu-toggle[aria-expanded="true"] span+span{transform:rotate(-45deg)}
  .tm-nav{position:fixed;inset:76px 14px auto 14px;max-height:calc(100svh - 92px);overflow:auto;padding:10px 15px 15px;border-radius:18px;gap:6px;box-shadow:0 28px 70px rgba(0,0,0,.28)}
  .admin-bar .tm-nav{top:120px}
  .tm-nav ul{margin:0;display:block}
  .tm-nav ul li{border-bottom:1px solid rgba(255,255,255,.1)}
  .tm-header-page .tm-nav ul li{border-color:#e5dfd4}
  .tm-nav ul a{font-size:14px;padding:13px 2px}
  .tm-nav>.tm-btn{min-height:45px;margin-top:5px;font-size:13px}

  .tm3-hero,.tm3-hero-grid-single{min-height:100svh!important}
  .tm3-hero-grid-single{padding-top:92px;padding-bottom:48px;align-items:center}
  .tm3-hero h1{font-size:clamp(36px,7.6vw,48px);max-width:620px}
  .tm3-hero-copy>p{font-size:14px;max-width:600px}
  .tm3-panel{min-height:auto;padding:72px 0}

  .tm3-enterprise{padding:58px 0}
  .tm3-enterprise-layout{grid-template-columns:1fr;gap:14px}
  .tm3-enterprise-intro{min-height:auto;padding:22px}
  .tm3-enterprise-intro figure{height:260px;min-height:0;max-height:none;margin:-22px -22px 20px}
  .tm3-enterprise-work{min-height:0;padding:18px}
  .tm3-enterprise-head{grid-template-columns:1fr;gap:6px}
  .tm3-service-columns{grid-template-columns:1fr 1fr}
  .tm3-service-columns>div:last-child{grid-column:1/-1}
}

@media(max-width:640px){
  .tm-shell{width:min(calc(100% - 28px),var(--tm-shell))}
  .tm-header-inner{height:64px}
  .tm-brand img{width:132px;max-height:48px}
  .tm-menu-toggle{width:40px;height:40px}
  .tm-nav{inset:70px 10px auto 10px;max-height:calc(100svh - 82px)}
  .admin-bar .tm-header-home,.admin-bar .tm-header-page{top:46px}
  .admin-bar .tm-nav{top:116px}

  .tm3-hero,.tm3-hero-grid-single{height:auto;min-height:100svh!important}
  .tm3-hero-bg{object-position:62% center}
  .tm3-hero-shade{background:linear-gradient(180deg,rgba(10,24,15,.56) 0%,rgba(10,24,15,.55) 18%,rgba(10,24,15,.8) 70%,rgba(10,24,15,.9) 100%)}
  .tm3-hero-grid-single{padding-top:88px!important;padding-bottom:max(38px,env(safe-area-inset-bottom))!important;align-items:flex-end}
  .tm3-hero h1{font-size:36px;line-height:1.03;margin:12px 0 15px;max-width:500px}
  .tm3-hero-copy>p{font-size:13.5px;line-height:1.58;color:rgba(255,255,255,.84)}
  .tm3-actions{flex-direction:row;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px}
  .tm3-actions .tm-btn{min-height:44px;padding-inline:17px}
  .tm3-hero-proof{margin-top:20px;font-size:8.5px;gap:7px}
  .tm3-hero-proof i{width:12px}

  .tm3-panel{padding:58px 0}
  .tm3-copy h2,.tm3-section-head h2,.tm3-enterprise-intro h2,.tm3-projects h2{font-size:28px}
  .tm3-copy>p,.tm3-section-head>p{font-size:13px}

  .tm3-enterprise{padding:52px 0}
  .tm3-enterprise-intro{padding:18px;border-radius:18px}
  .tm3-enterprise-intro figure{margin:-18px -18px 18px;height:210px}
  .tm3-enterprise-intro h2{font-size:27px}
  .tm3-enterprise-intro>p{font-size:12px}
  .tm3-method{margin-top:18px;padding-top:0;gap:6px;font-size:8px}
  .tm3-method i{width:12px}
  .tm3-enterprise-work{padding:15px;border-radius:18px}
  .tm3-enterprise-head h3{font-size:20px}
  .tm3-enterprise-head>p{font-size:10.5px}
  .tm3-service-groups,.tm3-service-grid{display:none}
  .tm3-service-select-wrap{display:grid;gap:6px;margin:12px 0}
  .tm3-service-select-wrap>span{font-size:8px;letter-spacing:.12em;text-transform:uppercase;font-weight:750;color:#7e826f}
  .tm3-service-select{width:100%;height:46px;border:1px solid #d8d1c4;border-radius:13px;background:#fff;color:#1b2d20;padding:0 12px;font-size:13px;font-weight:650}
  .tm3-service-detail{padding:14px;border-radius:14px}
  .tm3-service-title{grid-template-columns:24px 1fr}
  .tm3-service-title h4{font-size:17px}
  .tm3-service-title p{font-size:11px}
  .tm3-service-columns{grid-template-columns:1fr;gap:0;padding-top:0}
  .tm3-service-columns>div,.tm3-service-columns>div:last-child{grid-column:auto;padding:12px 0;border-bottom:1px solid #eee9df}
  .tm3-service-columns>div:last-child{border-bottom:0}
  .tm3-service-columns b{font-size:8px;margin-bottom:4px}
  .tm3-service-columns p{font-size:10.5px;line-height:1.5}
  .tm3-enterprise-cta{flex-direction:column;align-items:stretch;gap:12px;padding-top:10px}
  .tm3-enterprise-cta .tm-btn{width:100%}

  .tm3-steps article{min-height:0;padding:17px}
  .tm3-steps h3{margin:18px 0 7px}
  .tm3-final-grid{gap:18px}
  .tm-footer{padding:36px 0 16px}
  .tm-footer-top{grid-template-columns:1fr 1fr;gap:24px 18px;padding-bottom:26px}
  .tm-footer-brand{grid-column:1/-1}
  .tm-footer-logo{width:150px}
  .tm-footer-brand p{font-size:11.5px;margin-top:12px}
  .tm-footer h4{font-size:8px}
  .tm-footer a{font-size:11px}
}

@media(max-width:380px){
  .tm3-hero h1{font-size:33px}
  .tm3-actions{flex-direction:column;align-items:stretch}
  .tm3-actions .tm-btn{width:100%}
  .tm3-actions .tm3-text-link{justify-content:center;min-height:38px}
  .tm3-hero-proof{display:none}
  .tm-footer-top{grid-template-columns:1fr}
  .tm-footer-brand{grid-column:auto}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.tm-reveal{opacity:1;transform:none;transition:none}.tm-btn,.tm-nav a,.tm3-service-tab,.tm3-service-group{transition:none!important}
}

/* === TresMontes Theme 4.0 · Editorial clarity + fully responsive production pass === */
body{font-size:16px;line-height:1.6}.tm-nav ul a{font-size:13px}.tm-btn{font-size:13px;min-height:44px;padding:10px 19px}.tm-kicker{font-size:10.5px}
.tm3-copy>p,.tm3-section-head>p{font-size:15px;line-height:1.68}.tm3-note{font-size:13px!important;line-height:1.6}.tm3-hero-copy>p{font-size:15px;line-height:1.65}.tm3-text-link{font-size:13px}.tm3-hero-proof{font-size:10.5px}

/* Hero: memorable, calm and readable rather than oversized. */
.tm3-hero h1{font-size:clamp(40px,3.65vw,56px);line-height:1.035;max-width:720px;margin:17px 0 20px}.tm3-hero-grid-single .tm3-hero-copy{max-width:760px}.tm3-hero-grid-single .tm3-hero-copy>p{max-width:700px}.tm3-hero-shade{background:linear-gradient(90deg,rgba(9,24,14,.88) 0%,rgba(9,24,14,.69) 43%,rgba(9,24,14,.32) 78%,rgba(9,24,14,.19) 100%),linear-gradient(0deg,rgba(9,23,14,.42),transparent 52%)}

/* Manifesto: target-led, not decorative. */
.tm3-manifesto-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:76px;align-items:center}.tm3-manifesto-targets{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--tm-line);border-radius:22px;overflow:hidden;background:#fff}.tm3-manifesto-targets article{min-height:230px;padding:22px;display:grid;grid-template-columns:34px 1fr;gap:12px;border-right:1px solid var(--tm-line);border-bottom:1px solid var(--tm-line)}.tm3-manifesto-targets article:nth-child(even){border-right:0}.tm3-manifesto-targets article:nth-last-child(-n+2){border-bottom:0}.tm3-manifesto-targets article>span{font-size:9px;color:var(--tm-gold);padding-top:2px}.tm3-manifesto-targets small{font-size:8.5px;letter-spacing:.13em;color:#7f897d;font-weight:750}.tm3-manifesto-targets h3{font-size:20px;line-height:1.12;letter-spacing:-.025em;margin:35px 0 8px;font-weight:620}.tm3-manifesto-targets p{font-size:12.5px;line-height:1.58;color:var(--tm-muted);margin:0}

/* How it works: show what the person does and what the system does. */
.tm3-how .tm3-section-head{max-width:920px}.tm3-guided-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:32px}.tm3-guided-flow article{min-height:300px;border:1px solid #d8d2c6;border-radius:18px;background:rgba(255,255,255,.54);padding:18px;display:flex;flex-direction:column}.tm3-guided-flow article>span{font-size:9px;color:var(--tm-gold)}.tm3-guided-flow article>div small{display:block;font-size:8px;letter-spacing:.13em;color:#879086;font-weight:750;margin-top:24px}.tm3-guided-flow h3{font-size:20px;line-height:1.15;margin:5px 0 8px;letter-spacing:-.025em}.tm3-guided-flow article>div p{font-size:11.5px;line-height:1.55;color:var(--tm-muted);margin:0}.tm3-guided-flow footer{margin-top:auto;padding-top:17px;border-top:1px solid #ddd7cc}.tm3-guided-flow footer b{display:block;font-size:8px;letter-spacing:.13em;color:#9d7b47}.tm3-guided-flow footer p{font-size:10.5px;line-height:1.5;color:#4e5950;margin:5px 0 0}.tm3-guided-promise{display:flex;gap:10px;align-items:baseline;margin-top:18px;padding:15px 18px;border-left:2px solid var(--tm-gold);background:rgba(255,255,255,.42);font-size:12.5px}.tm3-guided-promise b{white-space:nowrap}.tm3-guided-promise span{color:#657067}

/* Vision: concepts are an institutional hook, clearly separated from approvals. */
.tm3-vision{background:#12271a;color:#fff}.tm3-vision-lead{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:60px;align-items:end;margin-bottom:30px}.tm3-vision-lead h2{font-size:clamp(30px,2.5vw,38px);line-height:1.08;letter-spacing:-.035em;font-weight:500;margin:12px 0 0}.tm3-vision-lead p{font-size:14px;line-height:1.67;color:#b9c5b8;margin:0}.tm3-vision-showcase{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:14px}.tm3-vision .tm3-video{margin:0;background:#0c1c12;border:1px solid rgba(255,255,255,.12);border-radius:20px;overflow:hidden}.tm3-vision .tm3-video video{display:block;width:100%;aspect-ratio:16/8.8;object-fit:cover;background:#09140d}.tm3-vision .tm3-video>div{padding:17px 19px 20px;display:block}.tm3-vision .tm3-video span,.tm3-vision-concepts span{font-size:8.5px;letter-spacing:.12em;color:#d1ad6d;font-weight:750}.tm3-vision .tm3-video h3{font-size:21px;margin:5px 0 7px}.tm3-vision .tm3-video p{font-size:12px;line-height:1.55;color:#aebbae;margin:0}.tm3-vision-concepts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tm3-vision-concepts article{border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(255,255,255,.045);padding:17px}.tm3-vision-concepts h3{font-size:17px;line-height:1.18;margin:18px 0 7px;letter-spacing:-.02em}.tm3-vision-concepts p{font-size:11px;line-height:1.55;color:#aebbae;margin:0}.tm3-vision-concepts .tm3-vision-value{grid-column:1/-1;background:#e9dfcd;color:var(--tm-ink);border-color:#e9dfcd}.tm3-vision-concepts .tm3-vision-value span{color:#98703a}.tm3-vision-concepts .tm3-vision-value h3{font-size:19px}.tm3-vision-concepts .tm3-vision-value p{color:#687168}.tm3-concept-rule{margin-top:13px;padding:13px 16px;border-radius:13px;background:rgba(255,255,255,.07);display:flex;gap:8px;font-size:11.5px;color:#b9c5b8}.tm3-concept-rule b{color:#fff;white-space:nowrap}

/* Projects: six gates, each with a question and an output. */
.tm3-projects{background:#faf8f3}.tm3-project-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:70px;align-items:end;margin-bottom:28px}.tm3-project-head h2{font-size:clamp(30px,2.5vw,38px);line-height:1.08;letter-spacing:-.035em;font-weight:500;margin:12px 0 0}.tm3-project-head>div:last-child p{font-size:14px;line-height:1.62;color:var(--tm-muted);margin:0 0 15px}.tm3-project-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--tm-line);border-radius:22px;overflow:hidden;background:#fff}.tm3-project-proof article{min-height:245px;padding:20px;border-right:1px solid var(--tm-line);border-bottom:1px solid var(--tm-line);display:flex;flex-direction:column}.tm3-project-proof article:nth-child(3n){border-right:0}.tm3-project-proof article:nth-last-child(-n+3){border-bottom:0}.tm3-project-proof article>span{font-size:9px;color:var(--tm-gold)}.tm3-project-proof article>small{font-size:8px;letter-spacing:.12em;color:#8c948c;font-weight:750;margin-top:22px}.tm3-project-proof h3{font-size:18px;line-height:1.15;margin:5px 0 8px;letter-spacing:-.02em}.tm3-project-proof p{font-size:11.5px;line-height:1.55;color:var(--tm-muted);margin:0 0 16px}.tm3-project-proof b{margin-top:auto;font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#98743f}.tm3-project-proof em{font-size:10.5px;font-style:normal;color:#465047;margin-top:3px}

/* Enterprise remains dense in meaning, not in layout. */
.tm3-enterprise-head>p{font-size:11.5px}.tm3-service-tab b{font-size:11px}.tm3-service-title p{font-size:11.5px}.tm3-service-columns p{font-size:10.5px;line-height:1.55}.tm3-enterprise-cta p{font-size:11.5px;line-height:1.55}

/* Footer validation: more legible, same visual restraint. */
.tm-footer-brand p{font-size:12.5px}.tm-footer h4{font-size:9.5px}.tm-footer a{font-size:12px}.tm-footer-bottom{font-size:10.5px}

@media(max-width:1100px){
  .tm3-manifesto-layout{grid-template-columns:1fr;gap:38px}.tm3-guided-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.tm3-guided-flow article:last-child{grid-column:1/-1;min-height:220px}.tm3-vision-lead,.tm3-project-head{grid-template-columns:1fr;gap:16px}.tm3-vision-showcase{grid-template-columns:1fr}.tm3-project-proof{grid-template-columns:repeat(2,minmax(0,1fr))}.tm3-project-proof article:nth-child(3n){border-right:1px solid var(--tm-line)}.tm3-project-proof article:nth-child(even){border-right:0}.tm3-project-proof article:nth-last-child(-n+3){border-bottom:1px solid var(--tm-line)}.tm3-project-proof article:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:720px){
  body{font-size:16px}.tm3-hero h1{font-size:clamp(34px,10vw,42px);line-height:1.04}.tm3-hero-copy>p{font-size:14.5px}.tm3-hero-grid-single{min-height:100svh!important;padding-top:max(88px,calc(env(safe-area-inset-top) + 72px))!important;padding-bottom:max(34px,env(safe-area-inset-bottom))!important;align-items:flex-end!important}.tm3-hero-bg{object-position:61% center}.tm3-panel{padding:64px 0}.tm3-copy h2,.tm3-section-head h2,.tm3-vision-lead h2,.tm3-project-head h2{font-size:29px}.tm3-copy>p,.tm3-section-head>p,.tm3-vision-lead p,.tm3-project-head>div:last-child p{font-size:13.5px}
  .tm3-manifesto-targets{grid-template-columns:1fr}.tm3-manifesto-targets article{min-height:0;border-right:0!important;border-bottom:1px solid var(--tm-line)!important;padding:18px}.tm3-manifesto-targets article:last-child{border-bottom:0!important}.tm3-manifesto-targets h3{margin-top:18px;font-size:18px}.tm3-manifesto-targets p{font-size:12px}
  .tm3-guided-flow{grid-template-columns:1fr;gap:8px}.tm3-guided-flow article,.tm3-guided-flow article:last-child{grid-column:auto;min-height:0}.tm3-guided-flow article>div small{margin-top:18px}.tm3-guided-flow footer{margin-top:18px}.tm3-guided-promise{align-items:flex-start;flex-direction:column;gap:3px;font-size:12px}.tm3-guided-promise b{white-space:normal}
  .tm3-vision-concepts{grid-template-columns:1fr}.tm3-vision-concepts .tm3-vision-value{grid-column:auto}.tm3-concept-rule{flex-direction:column}.tm3-concept-rule b{white-space:normal}.tm3-vision .tm3-video video{aspect-ratio:16/10}
  .tm3-project-proof{grid-template-columns:1fr}.tm3-project-proof article{min-height:0;border-right:0!important;border-bottom:1px solid var(--tm-line)!important}.tm3-project-proof article:last-child{border-bottom:0!important}.tm3-project-proof article>small{margin-top:15px}.tm3-project-proof b{margin-top:14px}
  .tm3-service-title p{font-size:12px}.tm3-service-columns p{font-size:11.5px}.tm3-enterprise-head>p{font-size:11.5px}
  .tm-footer-brand p{font-size:12px}.tm-footer a{font-size:12px}
}
@media(max-width:390px){.tm3-hero h1{font-size:33px}.tm3-hero-proof{display:flex;font-size:8px}.tm3-hero-proof i{width:8px}}

/* === TresMontes Theme 4.1 · clarity, vision and production finish === */
/* The mark is always transparent: no white tile, no fake card treatment. */
.tm-footer-logo{background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}

/* Manifesto: a compact visual grammar, not another block of prose. */
.tm3-manifesto-method{grid-column:1/-1;display:grid;grid-template-columns:auto 34px auto 34px auto 34px auto;align-items:center;justify-content:center;gap:10px;margin-top:-16px;padding:16px 20px;border:1px solid var(--tm-line);border-radius:18px;background:#fff}
.tm3-manifesto-method span{display:grid;gap:2px;min-width:116px}.tm3-manifesto-method b{font-size:12px;line-height:1.15;letter-spacing:-.015em}.tm3-manifesto-method small{font-size:9.5px;line-height:1.35;color:#7a827a}.tm3-manifesto-method i{display:block;width:34px;height:1px;background:#d7d0c3;position:relative}.tm3-manifesto-method i:after{content:"";position:absolute;right:-1px;top:-2px;width:5px;height:5px;border-top:1px solid #a88750;border-right:1px solid #a88750;transform:rotate(45deg)}

/* Vision: the two flagship concepts lead; the next concepts stay secondary. */
.tm3-vision-feature-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:14px;align-items:stretch}
.tm3-vision-feature,.tm3-vision-festival{min-width:0;border:1px solid rgba(255,255,255,.12);border-radius:20px;overflow:hidden;background:#0c1c12}
.tm3-vision-feature{display:flex;flex-direction:column}.tm3-vision-feature video{width:100%;aspect-ratio:16/8.8;object-fit:cover;background:#09140d}.tm3-vision-feature>div{padding:17px 19px 20px!important;display:block!important}.tm3-vision-feature span,.tm3-vision-festival span{display:block;font-size:8.5px;letter-spacing:.12em;color:#d1ad6d;font-weight:750}.tm3-vision-feature h3,.tm3-vision-festival h3{font-size:21px;line-height:1.15;letter-spacing:-.025em;margin:6px 0 8px}.tm3-vision-feature p,.tm3-vision-festival p{font-size:12px;line-height:1.58;color:#aebbae;margin:0}
.tm3-vision-festival{display:grid;grid-template-rows:minmax(250px,1fr) auto}.tm3-vision-festival img{display:block;width:100%;height:100%;min-height:250px;object-fit:cover}.tm3-vision-festival>div{padding:17px 19px 20px}
.tm3-vision-secondary{grid-template-columns:1fr 1fr minmax(0,1.15fr)!important;margin-top:14px}.tm3-vision-secondary .tm3-vision-value{grid-column:auto!important}.tm3-vision-secondary article{min-height:190px;display:flex;flex-direction:column}.tm3-vision-secondary h3{margin-top:auto!important;padding-top:22px}.tm3-vision-secondary .tm3-vision-value{background:#e9dfcd!important;color:var(--tm-ink)!important}.tm3-vision-secondary .tm3-vision-value h3{font-size:19px}.tm3-vision-secondary .tm3-vision-value p{color:#687168!important}

/* Keep production copy comfortable to read without returning to oversized typography. */
.tm3-manifesto-targets p,.tm3-guided-flow p,.tm3-service-columns p,.tm3-project-proof p{font-size:12.5px;line-height:1.6}.tm3-guided-flow footer p{font-size:10.5px}.tm3-project-proof em{font-size:10.5px;line-height:1.45}.tm-footer-brand p,.tm-footer a{font-size:12px}.tm-footer h4{font-size:9.5px}

/* Anchor sections should land below the sticky header. */
#manifesto,#come-funziona,#economia,#visione,#progetti,#aderisci{scroll-margin-top:76px}

/* Keyboard and reduced motion finish. */
.tm3-service-group:focus-visible,.tm3-service-tab:focus-visible,.tm3-service-select:focus-visible,.tm-btn:focus-visible,.tm-nav a:focus-visible,.tm3-text-link:focus-visible,.tm-footer a:focus-visible{outline:3px solid rgba(211,178,112,.52);outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.tm-reveal{transition:none!important;transform:none!important}.tm3-service-group,.tm3-service-tab,.tm-btn,.tm-nav a,.tm-footer a{transition:none!important}}

@media(max-width:1040px){
  .tm3-manifesto-method{grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr;gap:8px}.tm3-manifesto-method span{min-width:0}.tm3-manifesto-method i{width:18px}
  .tm3-vision-feature-grid{grid-template-columns:1fr}.tm3-vision-festival{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);grid-template-rows:1fr}.tm3-vision-festival img{min-height:260px}.tm3-vision-festival>div{display:flex;flex-direction:column;justify-content:flex-end}
  .tm3-vision-secondary{grid-template-columns:1fr 1fr!important}.tm3-vision-secondary .tm3-vision-value{grid-column:1/-1!important;min-height:0}
}
@media(max-width:720px){
  .tm3-manifesto-method{grid-template-columns:1fr 1fr;justify-content:stretch;gap:1px;padding:1px;overflow:hidden;background:#ddd6ca;border-color:#ddd6ca}.tm3-manifesto-method span{min-height:82px;background:#fff;padding:15px;justify-content:end}.tm3-manifesto-method i{display:none}.tm3-manifesto-method b{font-size:13px}.tm3-manifesto-method small{font-size:10px}
  .tm3-vision-feature-grid{gap:10px}.tm3-vision-feature,.tm3-vision-festival{border-radius:17px}.tm3-vision-feature video{aspect-ratio:16/10}.tm3-vision-festival{display:block}.tm3-vision-festival img{min-height:0;aspect-ratio:16/10}.tm3-vision-feature h3,.tm3-vision-festival h3{font-size:19px}.tm3-vision-feature p,.tm3-vision-festival p{font-size:11.5px}.tm3-vision-secondary{grid-template-columns:1fr!important;gap:8px}.tm3-vision-secondary .tm3-vision-value{grid-column:auto!important}.tm3-vision-secondary article{min-height:0}.tm3-vision-secondary h3{margin-top:18px!important;padding-top:0}
  .tm3-manifesto-targets p,.tm3-guided-flow p,.tm3-project-proof p{font-size:12px}
  #manifesto,#come-funziona,#economia,#visione,#progetti,#aderisci{scroll-margin-top:68px}
}

/* TresMontes 4.2 — editorial rhythm and Vision redesign */
.tm3-manifesto-layout{align-items:start}
.tm3-manifesto-story{display:grid;gap:22px;align-self:stretch}
.tm3-manifesto-photo{margin:0;position:relative;border-radius:20px;overflow:hidden;min-height:250px;background:#dfe5d9}
.tm3-manifesto-photo img{display:block;width:100%;height:100%;min-height:250px;object-fit:cover}
.tm3-manifesto-photo:after{content:"";position:absolute;inset:auto 0 0;height:46%;background:linear-gradient(180deg,transparent,rgba(10,25,15,.72));pointer-events:none}
.tm3-manifesto-photo figcaption{position:absolute;left:18px;right:18px;bottom:16px;z-index:1;color:#fff;display:grid;gap:3px}
.tm3-manifesto-photo figcaption span{font-size:8px;letter-spacing:.15em;font-weight:800;color:#dbc28e}
.tm3-manifesto-photo figcaption b{font-size:14px;font-weight:600}

.tm3-vision-lead{grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);gap:70px;align-items:end;margin-bottom:22px}
.tm3-vision-lead>div h2{font-size:clamp(30px,2.5vw,38px);line-height:1.08;letter-spacing:-.035em;font-weight:500;margin:12px 0 0;color:#fff}
.tm3-vision-lead>p{font-size:14px;line-height:1.67;color:#b9c5b8;margin:0}
.tm3-vision-bridge{margin:0 0 18px;padding:13px 16px;border-left:2px solid #caa568;background:rgba(255,255,255,.055);border-radius:0 12px 12px 0}
.tm3-vision-bridge b{font-size:13px;line-height:1.55;font-weight:620;color:#eef2ec}
.tm3-vision-primary{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:14px;align-items:stretch}
.tm3-concept-hero{min-width:0;border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;background:#0c1c12;display:flex;flex-direction:column}
.tm3-concept-media{position:relative;background:#09140d;overflow:hidden}
.tm3-concept-media video,.tm3-concept-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.tm3-concept-status{position:absolute;left:14px;top:14px;padding:7px 9px;border-radius:999px;background:rgba(8,22,13,.78);backdrop-filter:blur(9px);border:1px solid rgba(255,255,255,.16);font-size:7.5px!important;letter-spacing:.11em!important;color:#ead4a4!important;font-weight:800!important}
.tm3-concept-copy{padding:18px 19px 20px;display:flex;flex-direction:column;flex:1}
.tm3-concept-copy>span{font-size:8.5px;letter-spacing:.12em;color:#d1ad6d;font-weight:750}
.tm3-concept-copy h3{font-size:22px;line-height:1.14;letter-spacing:-.025em;margin:6px 0 5px;color:#fff}
.tm3-concept-tagline{font-size:13px!important;color:#eef2ec!important;line-height:1.45!important;margin:0 0 16px!important;font-weight:570}
.tm3-concept-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto}
.tm3-concept-facts>div{padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07)}
.tm3-concept-facts b{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.09em;color:#d3b77f;margin-bottom:5px}
.tm3-concept-facts p{font-size:10.5px!important;line-height:1.5!important;color:#b5c0b6!important;margin:0!important}
.tm3-vision-secondary{display:grid!important;grid-template-columns:1fr 1fr minmax(0,.92fr)!important;gap:10px!important;margin-top:14px!important}
.tm3-concept-secondary{position:relative;min-height:240px!important;padding:0!important;overflow:hidden;border-radius:18px!important;border:1px solid rgba(255,255,255,.12)!important;background:#13271a!important}
.tm3-concept-secondary img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7}
.tm3-concept-secondary:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,22,14,.08),rgba(9,22,14,.9))}
.tm3-concept-secondary>div{position:absolute;z-index:1;left:16px;right:16px;bottom:15px}
.tm3-concept-secondary span{font-size:8px;letter-spacing:.12em;color:#e0bd78;font-weight:800}
.tm3-concept-secondary h3{font-size:18px!important;margin:6px 0 6px!important;padding:0!important;color:#fff}
.tm3-concept-secondary p{font-size:10.5px!important;line-height:1.5!important;color:#c5cec6!important;margin:0!important}
.tm3-vision-secondary .tm3-vision-value{min-height:240px!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;padding:18px!important;border-radius:18px!important}
.tm3-vision-secondary .tm3-vision-value h3{font-size:19px!important;margin:8px 0!important}
.tm3-vision-secondary .tm3-vision-value p{font-size:11px!important;line-height:1.55!important;margin:0!important}
.tm3-concept-rule{margin-top:14px}

@media(max-width:1180px){
  .tm3-vision-primary{grid-template-columns:1fr}
  .tm3-concept-facts{grid-template-columns:1fr 1fr 1fr}
  .tm3-vision-secondary{grid-template-columns:1fr 1fr!important}
  .tm3-vision-secondary .tm3-vision-value{grid-column:1/-1!important;min-height:0!important}
}
@media(max-width:900px){
  .tm3-manifesto-story{grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
  .tm3-manifesto-photo,.tm3-manifesto-photo img{min-height:100%}
  .tm3-vision-lead{grid-template-columns:1fr;gap:14px}
  .tm3-concept-facts{grid-template-columns:1fr}
}
@media(max-width:640px){
  .tm3-manifesto-story{grid-template-columns:1fr}.tm3-manifesto-photo,.tm3-manifesto-photo img{min-height:220px}
  .tm3-vision-bridge{margin-bottom:12px}.tm3-vision-bridge b{font-size:12px}
  .tm3-concept-hero{border-radius:17px}.tm3-concept-media video,.tm3-concept-media img{aspect-ratio:16/10}
  .tm3-concept-copy{padding:15px}.tm3-concept-copy h3{font-size:20px}.tm3-concept-tagline{font-size:12px!important}
  .tm3-vision-secondary{grid-template-columns:1fr!important}.tm3-vision-secondary .tm3-vision-value{grid-column:auto!important}
  .tm3-concept-secondary,.tm3-vision-secondary .tm3-vision-value{min-height:210px!important}
}

/* === TresMontes 4.3 · Manifesto editorial redesign === */
/* Brand typography. Montserrat is preferred when available locally; privacy-safe fallbacks keep the same geometric character. */
body,button,input,textarea,select{font-family:"Montserrat","Avenir Next","Helvetica Neue",Arial,sans-serif}

.tm3-manifesto-v2{background:#fbf9f4;padding-top:92px;padding-bottom:86px;min-height:auto}
.tm3-manifesto-v2-shell{display:grid;gap:30px}
.tm3-manifesto-v2-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(340px,.75fr);gap:88px;align-items:end;padding-bottom:8px}
.tm3-manifesto-v2-head h2{font-size:clamp(36px,3.35vw,58px);line-height:1.02;letter-spacing:-.045em;font-weight:560;margin:14px 0 0;max-width:850px}
.tm3-manifesto-v2-lead{display:grid;gap:12px;padding-bottom:4px;max-width:590px}
.tm3-manifesto-v2-lead p{margin:0;color:#667067;font-size:14.5px;line-height:1.65}

.tm3-manifesto-v2-landscape{position:relative;margin:0;border-radius:24px;overflow:hidden;height:clamp(390px,45vw,570px);background:#dfe5d9;box-shadow:0 20px 70px rgba(32,43,33,.07)}
.tm3-manifesto-v2-landscape img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 51%}
.tm3-manifesto-v2-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,28,16,.84) 0%,rgba(9,28,16,.47) 42%,rgba(9,28,16,.06) 74%,rgba(9,28,16,0) 100%),linear-gradient(0deg,rgba(7,20,12,.28),transparent 45%)}
.tm3-manifesto-v2-landscape figcaption{position:absolute;left:44px;bottom:42px;width:min(610px,55%);color:#fff;z-index:1}
.tm3-manifesto-v2-landscape figcaption>span{display:block;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:.2em;color:#dcc18a;margin-bottom:14px}
.tm3-manifesto-v2-landscape h3{margin:0;font-size:clamp(28px,2.55vw,43px);line-height:1.06;letter-spacing:-.038em;font-weight:560}
.tm3-manifesto-v2-landscape p{margin:17px 0 0;max-width:560px;font-size:13.5px;line-height:1.62;color:rgba(255,255,255,.82)}

.tm3-manifesto-v2-promise{display:grid;grid-template-columns:150px 1fr;gap:28px;align-items:center;padding:20px 26px;border-left:2px solid #b18a50;background:#f3efe6}
.tm3-manifesto-v2-promise-mark{font-size:9px;font-weight:800;letter-spacing:.18em;color:#a47d44}
.tm3-manifesto-v2-promise p{margin:0;max-width:970px;font-size:14px;line-height:1.55;color:#394339}

.tm3-manifesto-targets-v2{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:22px;background:#fff}
.tm3-manifesto-targets-v2 article{min-height:255px;display:flex;flex-direction:column;padding:24px 24px 26px;border-right:1px solid var(--tm-line);border-bottom:0!important}
.tm3-manifesto-targets-v2 article:last-child{border-right:0}
.tm3-manifesto-targets-v2 article>span{font-size:9px;color:var(--tm-gold);padding:0 0 34px}
.tm3-manifesto-targets-v2 article>div{display:flex;flex-direction:column;flex:1}
.tm3-manifesto-targets-v2 small{font-size:8.5px;line-height:1.4;letter-spacing:.14em;color:#7b867b;font-weight:800}
.tm3-manifesto-targets-v2 h3{font-size:20px;line-height:1.12;letter-spacing:-.025em;margin:auto 0 10px;font-weight:620}
.tm3-manifesto-targets-v2 p{font-size:12.5px;line-height:1.6;color:var(--tm-muted);margin:0}

.tm3-manifesto-method-v2{grid-column:auto;margin-top:0;background:#fff}

@media(max-width:1180px){
  .tm3-manifesto-v2-head{gap:48px}
  .tm3-manifesto-targets-v2{grid-template-columns:1fr 1fr}
  .tm3-manifesto-targets-v2 article{border-bottom:1px solid var(--tm-line)!important}
  .tm3-manifesto-targets-v2 article:nth-child(even){border-right:0}
  .tm3-manifesto-targets-v2 article:nth-last-child(-n+2){border-bottom:0!important}
}
@media(max-width:960px){
  .tm3-manifesto-v2{padding-top:76px;padding-bottom:72px}
  .tm3-manifesto-v2-head{grid-template-columns:1fr;gap:24px}
  .tm3-manifesto-v2-lead{max-width:760px}
  .tm3-manifesto-v2-landscape{height:460px}
  .tm3-manifesto-v2-landscape figcaption{left:30px;bottom:30px;width:min(650px,72%)}
  .tm3-manifesto-v2-promise{grid-template-columns:120px 1fr}
}
@media(max-width:640px){
  .tm3-manifesto-v2{padding-top:62px;padding-bottom:58px}
  .tm3-manifesto-v2-shell{gap:22px}
  .tm3-manifesto-v2-head h2{font-size:32px;line-height:1.05}
  .tm3-manifesto-v2-lead p{font-size:13px;line-height:1.6}
  .tm3-manifesto-v2-landscape{height:430px;border-radius:18px}
  .tm3-manifesto-v2-landscape img{object-position:58% 50%}
  .tm3-manifesto-v2-shade{background:linear-gradient(0deg,rgba(7,23,13,.9) 0%,rgba(7,23,13,.55) 43%,rgba(7,23,13,.04) 74%)}
  .tm3-manifesto-v2-landscape figcaption{left:20px;right:20px;bottom:22px;width:auto}
  .tm3-manifesto-v2-landscape h3{font-size:28px}
  .tm3-manifesto-v2-landscape p{font-size:12px;line-height:1.55}
  .tm3-manifesto-v2-promise{grid-template-columns:1fr;gap:8px;padding:17px 18px}
  .tm3-manifesto-v2-promise p{font-size:12.5px}
  .tm3-manifesto-targets-v2{grid-template-columns:1fr}
  .tm3-manifesto-targets-v2 article{min-height:0;border-right:0!important;border-bottom:1px solid var(--tm-line)!important;padding:20px}
  .tm3-manifesto-targets-v2 article:last-child{border-bottom:0!important}
  .tm3-manifesto-targets-v2 article>span{padding-bottom:22px}
  .tm3-manifesto-targets-v2 h3{margin:0 0 9px;font-size:19px}
}

/* === TresMontes 4.4 · Final editorial refinement === */
/* More readable secondary copy without increasing headline scale. */
body{font-size:16px}
.tm3-copy>p,.tm3-section-head>p{font-size:14.5px;line-height:1.68}
.tm3-manifesto-v2-lead p{font-size:15.5px;line-height:1.68}
.tm3-manifesto-v2-landscape p{font-size:14.5px;line-height:1.64}
.tm3-manifesto-targets-v2 p{font-size:13.5px;line-height:1.62}
.tm3-guided-flow article>div p{font-size:13px;line-height:1.58}
.tm3-guided-flow footer p{font-size:11.5px;line-height:1.55}
.tm3-guided-promise{font-size:13px;line-height:1.5}
.tm3-enterprise-intro>p{font-size:13px;line-height:1.66}
.tm3-enterprise-head>p{font-size:12px;line-height:1.6}
.tm3-service-tab b{font-size:11px}
.tm3-service-title p{font-size:11.5px;line-height:1.5}
.tm3-service-columns p{font-size:11.5px;line-height:1.58}
.tm3-enterprise-cta p{font-size:11px;line-height:1.55}
.tm3-vision-lead>p{font-size:15px;line-height:1.7}
.tm3-vision-bridge b{font-size:14px}
.tm3-concept-tagline{font-size:14px!important}
.tm3-concept-facts p{font-size:11.5px!important;line-height:1.56!important}
.tm3-concept-secondary p{font-size:11.5px!important;line-height:1.56!important}
.tm3-project-head>div:last-child p{font-size:15px;line-height:1.65}
.tm3-project-proof p{font-size:12.5px;line-height:1.62}
.tm3-project-proof em{font-size:11.5px;line-height:1.5;margin-top:auto;color:#465047;font-style:normal}
.tm-footer-brand p,.tm-footer a{font-size:13px;line-height:1.55}
.tm-footer h4{font-size:10px}

/* Manifesto ends on people and meaning; the operating method belongs to the next section. */
.tm3-manifesto-v2{padding-bottom:78px}

/* Territorial capability language is intentionally plain, not consulting jargon. */
.tm3-method{font-size:9.5px;gap:9px}
.tm3-method span:last-child{max-width:128px;line-height:1.25}

/* Vision hierarchy: 2 hero concepts, 2 supporting concepts, 1 full-width conclusion. */
.tm3-vision-secondary{grid-template-columns:1fr 1fr!important}
.tm3-vision-conclusion{margin-top:12px;border-radius:18px;background:#e9dfcd;color:var(--tm-ink);padding:22px 24px;display:grid;grid-template-columns:150px minmax(260px,.85fr) minmax(320px,1.15fr);gap:26px;align-items:center}
.tm3-vision-conclusion>span{font-size:9px;letter-spacing:.14em;font-weight:800;color:#8f6a35}
.tm3-vision-conclusion h3{font-size:22px;line-height:1.18;letter-spacing:-.025em;margin:0;font-weight:650}
.tm3-vision-conclusion p{font-size:12.5px;line-height:1.62;color:#626d64;margin:0}

/* Project outcomes are plain-language conclusions, not consultancy 'outputs'. */
.tm3-project-proof em{display:block;padding-top:14px;border-top:1px solid #eee8dc;font-weight:600}

@media(max-width:1100px){
  .tm3-vision-conclusion{grid-template-columns:120px 1fr;gap:14px 22px}
  .tm3-vision-conclusion p{grid-column:2}
}
@media(max-width:720px){
  body{font-size:15px}
  .tm3-copy>p,.tm3-section-head>p{font-size:14px}
  .tm3-manifesto-v2-lead p{font-size:14px}
  .tm3-manifesto-v2-landscape p{font-size:13px}
  .tm3-manifesto-targets-v2 p{font-size:13px}
  .tm3-guided-flow article>div p{font-size:12.5px}
  .tm3-guided-flow footer p{font-size:11.5px}
  .tm3-enterprise-intro>p{font-size:12.5px}
  .tm3-enterprise-head>p{font-size:12px}
  .tm3-service-columns p{font-size:12px}
  .tm3-vision-lead>p{font-size:13.5px}
  .tm3-concept-facts p,.tm3-concept-secondary p{font-size:11.5px!important}
  .tm3-project-head>div:last-child p{font-size:13.5px}
  .tm3-project-proof p{font-size:12.5px}
  .tm3-vision-conclusion{grid-template-columns:1fr;gap:8px;padding:20px;border-radius:16px}
  .tm3-vision-conclusion p{grid-column:auto;font-size:12.5px}
  .tm3-vision-conclusion h3{font-size:20px}
  .tm3-method{gap:6px;font-size:8.5px}
  .tm3-method i{width:10px}
  .tm3-method span:last-child{max-width:104px}
}
@media(max-width:390px){
  .tm3-manifesto-v2-landscape h3{font-size:26px}
  .tm3-manifesto-v2-landscape figcaption{left:17px;right:17px;bottom:18px}
  .tm3-project-proof article{padding:18px}
}

/* === TresMontes 4.7 · Public UX refinement === */
/* Removed explanatory/meta copy that described the interface instead of helping the visitor. */
.tm3-enterprise-head{display:block;margin-bottom:14px}
.tm3-enterprise-head>div{max-width:520px}

/* Come funziona: make the section actionable before explaining the five steps. */
.tm3-how{background:linear-gradient(180deg,#f4f0e7 0%,#efe9de 100%)}
.tm3-how .tm3-section-head{max-width:860px}
.tm3-how .tm3-section-head h2{max-width:760px}
.tm3-how-try{margin-top:28px;padding:22px;border-radius:22px;background:#13291b;color:#fff;display:grid;grid-template-columns:minmax(220px,.62fr) minmax(0,1.38fr);gap:24px;align-items:center;box-shadow:0 18px 48px rgba(20,39,27,.08)}
.tm3-how-try>div:first-child>span{display:block;font-size:9px;letter-spacing:.16em;font-weight:800;color:#d2b274;margin-bottom:7px}
.tm3-how-try h3{font-size:24px;line-height:1.12;letter-spacing:-.025em;margin:0 0 7px;font-weight:650}
.tm3-how-try p{font-size:12.5px;line-height:1.55;color:#bdc8bd;margin:0;max-width:390px}
.tm3-how-try-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tm3-how-try-actions a{min-height:52px;border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;text-decoration:none;background:rgba(255,255,255,.045);font-size:12px;font-weight:650;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.tm3-how-try-actions a:hover,.tm3-how-try-actions a:focus-visible{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.32);transform:translateY(-1px)}
.tm3-how-try-actions a span{font-size:17px;color:#d2b274}
.tm3-guided-flow{margin-top:16px;gap:8px}
.tm3-guided-flow article{min-height:250px;background:#fbfaf6;padding:19px;border-radius:17px;box-shadow:0 9px 28px rgba(30,40,31,.025)}
.tm3-guided-flow article>span{width:30px;height:30px;border-radius:999px;background:#efe6d5;display:grid;place-items:center;font-size:9px;font-weight:800;color:#9c7540}
.tm3-guided-flow article>div{padding-top:20px}
.tm3-guided-flow h3{font-size:19px;margin:0 0 8px}
.tm3-guided-flow article>div p{font-size:12.5px;line-height:1.58}
.tm3-guided-flow footer{margin-top:auto;padding-top:16px}
.tm3-guided-flow footer p{margin:0;font-size:11.5px;line-height:1.5;font-weight:600;color:#354239}

/* Projects: explain participation without presenting an abstract 'network vote'. */
.tm3-project-head>div:last-child p{max-width:650px}
.tm3-project-proof article:nth-child(2){background:#fbf8f1}
.tm3-project-proof article:nth-child(2) small{color:#9c7540}

/* Vision mobile: one clear narrative column, no squeezed cards or overflowing badges. */
#visione{scroll-margin-top:78px}
@media(max-width:960px){
  .tm3-vision-primary{grid-template-columns:1fr!important;gap:14px!important}
  .tm3-vision-lead{grid-template-columns:1fr!important;gap:16px!important;align-items:start!important}
  .tm3-vision-lead>p{max-width:760px}
  .tm3-concept-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .tm3-how-try{grid-template-columns:1fr;gap:16px;padding:18px;border-radius:18px}
  .tm3-how-try h3{font-size:22px}
  .tm3-how-try-actions{grid-template-columns:1fr}
  .tm3-how-try-actions a{min-height:50px;font-size:12.5px}
  .tm3-guided-flow{margin-top:12px}
  .tm3-guided-flow article{min-height:0;padding:18px}
  .tm3-guided-flow article>div{padding-top:15px}

  .tm3-vision{padding-top:58px!important;padding-bottom:58px!important;overflow:hidden}
  .tm3-vision .tm-shell{width:min(calc(100% - 22px),var(--tm-shell))}
  .tm3-vision-lead{margin-bottom:16px!important}
  .tm3-vision-lead>div h2{font-size:30px!important;line-height:1.05!important}
  .tm3-vision-lead>p{font-size:13.5px!important;line-height:1.62!important}
  .tm3-vision-bridge{padding:12px 14px!important;margin-bottom:14px!important}
  .tm3-vision-bridge b{font-size:12.5px!important;line-height:1.5!important}
  .tm3-vision-primary{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .tm3-concept-hero{width:100%;min-width:0;border-radius:18px!important}
  .tm3-concept-media{width:100%;min-width:0}
  .tm3-concept-media video,.tm3-concept-media img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important}
  .tm3-concept-status{left:12px!important;top:12px!important;right:auto!important;max-width:calc(100% - 24px);white-space:normal;line-height:1.3!important;padding:7px 9px!important;font-size:7.5px!important}
  .tm3-concept-copy{padding:16px!important}
  .tm3-concept-copy h3{font-size:21px!important}
  .tm3-concept-tagline{font-size:12.5px!important;margin-bottom:13px!important}
  .tm3-concept-facts{grid-template-columns:1fr!important;gap:7px!important}
  .tm3-concept-facts>div{padding:11px 12px!important}
  .tm3-concept-facts p{font-size:11.5px!important;line-height:1.52!important}
  .tm3-vision-secondary{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
  .tm3-concept-secondary{min-height:250px!important;width:100%}
  .tm3-concept-secondary>div{left:15px!important;right:15px!important;bottom:15px!important}
  .tm3-concept-secondary h3{font-size:19px!important}
  .tm3-vision-conclusion{margin-top:10px!important;padding:18px!important;border-radius:16px!important}
  .tm3-vision-conclusion h3{font-size:20px!important;line-height:1.2!important}
  .tm3-vision-conclusion p{font-size:12px!important;line-height:1.56!important}
  .tm3-concept-rule{margin-top:10px!important;padding:13px 14px!important;gap:5px!important}
}
@media(max-width:390px){
  .tm3-vision-lead>div h2{font-size:28px!important}
  .tm3-concept-media video,.tm3-concept-media img{aspect-ratio:1.15/1!important}
  .tm3-concept-copy{padding:15px!important}
  .tm3-concept-secondary{min-height:230px!important}
  .tm3-how-try{padding:16px}
}

/* === TresMontes 4.8 · Mobile territorial capability navigation === */
/* Desktop/tablet keep the two-column tabs. Mobile uses category chips + accordion. */
.tm3-service-mobile{display:none}
.tm3-service-select-wrap{display:none!important}

@media(max-width:720px){
  .tm3-enterprise-head{margin-bottom:10px}
  .tm3-enterprise-head h3{font-size:21px;line-height:1.15}

  .tm3-service-groups{
    display:flex!important;
    flex-wrap:nowrap;
    gap:7px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin:0 -1px 12px;
    padding:2px 1px 5px;
  }
  .tm3-service-groups::-webkit-scrollbar{display:none}
  .tm3-service-group{
    flex:0 0 auto;
    min-height:42px;
    padding:9px 14px;
    font-size:11.5px;
    line-height:1;
    white-space:nowrap;
    border-radius:999px;
  }
  .tm3-service-group.active{box-shadow:0 5px 16px rgba(23,48,32,.12)}

  .tm3-service-grid,.tm3-service-details{display:none!important}
  .tm3-service-mobile{display:grid;gap:8px;margin-top:2px}
  .tm3-service-mobile-item{
    overflow:hidden;
    border:1px solid #d8d1c4;
    border-radius:15px;
    background:#fff;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  }
  .tm3-service-mobile-item[hidden]{display:none!important}
  .tm3-service-mobile-item.active{
    border-color:#bda980;
    box-shadow:0 8px 24px rgba(25,38,27,.055);
  }
  .tm3-service-mobile-button{
    appearance:none;
    width:100%;
    border:0;
    background:transparent;
    color:var(--tm-ink);
    padding:14px 13px;
    display:grid;
    grid-template-columns:28px minmax(0,1fr) 28px;
    gap:9px;
    align-items:start;
    text-align:left;
    cursor:pointer;
  }
  .tm3-service-mobile-number{
    padding-top:2px;
    font-size:8px;
    line-height:1.2;
    font-weight:750;
    color:#a47b42;
  }
  .tm3-service-mobile-label{display:grid;gap:4px;min-width:0}
  .tm3-service-mobile-label b{font-size:15px;line-height:1.22;font-weight:700;letter-spacing:-.012em}
  .tm3-service-mobile-label small{font-size:11.5px;line-height:1.45;color:#6d766f;font-weight:450}
  .tm3-service-mobile-button i{
    width:28px;
    height:28px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#f1ede4;
    color:#304137;
    font-size:18px;
    line-height:1;
    font-style:normal;
    transition:transform .18s ease,background .18s ease,color .18s ease;
  }
  .tm3-service-mobile-item.active .tm3-service-mobile-button i{
    transform:rotate(45deg);
    background:#173020;
    color:#fff;
  }
  .tm3-service-mobile-button:focus-visible{outline:3px solid rgba(211,178,112,.52);outline-offset:-3px}
  .tm3-service-mobile-panel{
    border-top:1px solid #eee8dc;
    padding:0 13px 3px 50px;
    background:#fcfbf7;
  }
  .tm3-service-mobile-panel[hidden]{display:none!important}
  .tm3-service-mobile-panel>div{padding:12px 0;border-bottom:1px solid #eee8dc}
  .tm3-service-mobile-panel>div:last-child{border-bottom:0}
  .tm3-service-mobile-panel b{
    display:block;
    margin:0 0 5px;
    font-size:8.5px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:#98713d;
  }
  .tm3-service-mobile-panel p{margin:0;font-size:12px;line-height:1.58;color:#58645c}
  .tm3-enterprise-cta{margin-top:14px}
}

@media(max-width:390px){
  .tm3-service-group{min-height:40px;padding:8px 12px;font-size:11px}
  .tm3-service-mobile-button{grid-template-columns:24px minmax(0,1fr) 26px;padding:13px 11px;gap:8px}
  .tm3-service-mobile-label b{font-size:14.5px}
  .tm3-service-mobile-label small{font-size:11px}
  .tm3-service-mobile-panel{padding-left:43px;padding-right:11px}
  .tm3-service-mobile-panel p{font-size:11.5px}
}

/* 4.9.0 — valore di ritorno: allineamento frontend/dashboard */
.tm3-return-value{margin-top:18px;border:1px solid #d8d2c6;border-radius:20px;background:rgba(255,255,255,.62);display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);gap:22px;padding:20px}
.tm3-return-value-lead>span{display:block;font-size:9px;letter-spacing:.15em;font-weight:800;color:#9b7745;margin-bottom:7px}
.tm3-return-value-lead h3{font-size:22px;line-height:1.12;letter-spacing:-.025em;margin:0 0 7px;font-weight:650}
.tm3-return-value-lead p{font-size:12.5px;line-height:1.58;color:var(--tm-muted);margin:0;max-width:430px}
.tm3-return-value-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:1px solid #e0d9cd}
.tm3-return-value-items article{padding:8px 16px;min-width:0;border-right:1px solid #e0d9cd}
.tm3-return-value-items article:last-child{border-right:0}
.tm3-return-value-items b{display:block;font-size:12.5px;line-height:1.35;color:var(--tm-ink);margin-bottom:5px}
.tm3-return-value-items p{font-size:11.5px;line-height:1.5;color:var(--tm-muted);margin:0}
.tm3-enterprise-head>p strong{font-weight:700;color:var(--tm-ink)}

@media (max-width:1100px){
  .tm3-return-value{grid-template-columns:1fr;gap:16px}
  .tm3-return-value-items{border-left:0;border-top:1px solid #e0d9cd;padding-top:12px}
}
@media (max-width:720px){
  .tm3-return-value{padding:17px;border-radius:17px;margin-top:14px}
  .tm3-return-value-lead h3{font-size:20px}
  .tm3-return-value-lead p{font-size:12.5px}
  .tm3-return-value-items{grid-template-columns:1fr;padding-top:4px}
  .tm3-return-value-items article{padding:13px 0;border-right:0;border-bottom:1px solid #e0d9cd}
  .tm3-return-value-items article:last-child{border-bottom:0;padding-bottom:2px}
  .tm3-return-value-items b{font-size:12.5px}
  .tm3-return-value-items p{font-size:12px}
}

/* 5.0.0 — allineamento ambito territoriale e microcopy produzione */

/* === TresMontes 5.1.3 · Desktop readability pass ===
   Keep the editorial scale intact while raising the minimum size of copy
   that must actually be read. Micro labels / counters intentionally stay small. */
@media (min-width:721px){
  .tm-nav ul a{font-size:13.5px}
  .tm-btn{font-size:13px}
  .tm3-text-link{font-size:13px}
  .tm3-note{font-size:13.5px!important;line-height:1.62}

  .tm3-principles p{font-size:13.5px;line-height:1.62}
  .tm3-steps p{font-size:13.5px;line-height:1.62}
  .tm3-steps em{font-size:13px;line-height:1.52}

  .tm3-enterprise-intro>p{font-size:14px;line-height:1.66}
  .tm3-enterprise-head>p{font-size:13.5px;line-height:1.62}
  .tm3-service-tab b{font-size:12.5px}
  .tm3-service-title p{font-size:13.5px;line-height:1.58}
  .tm3-service-columns p{font-size:13.5px;line-height:1.62}
  .tm3-enterprise-cta p{font-size:13px;line-height:1.58}

  .tm3-video p{font-size:13.5px;line-height:1.6}
  .tm3-project-flow p{font-size:13.5px;line-height:1.6}
  .tm3-final-grid>div:last-child>p{font-size:14px;line-height:1.64}

  .tm3-manifesto-targets p,
  .tm3-manifesto-targets-v2 p{font-size:13.5px;line-height:1.62}
  .tm3-guided-flow article>div p{font-size:13.5px;line-height:1.62}
  .tm3-guided-flow footer p{font-size:12.5px;line-height:1.56}
  .tm3-guided-promise{font-size:13.5px;line-height:1.55}
  .tm3-how-try p{font-size:13.5px;line-height:1.6}
  .tm3-how-try-actions a{font-size:13px}

  .tm3-vision .tm3-video p,
  .tm3-vision-feature p,
  .tm3-vision-festival p{font-size:13.5px;line-height:1.62}
  .tm3-vision-concepts p{font-size:13px;line-height:1.6}
  .tm3-concept-tagline{font-size:14px!important}
  .tm3-concept-facts p{font-size:13px!important;line-height:1.6!important}
  .tm3-concept-secondary p{font-size:13px!important;line-height:1.6!important}
  .tm3-concept-rule{font-size:13px;line-height:1.55}
  .tm3-vision-secondary .tm3-vision-value p{font-size:13px;line-height:1.58}
  .tm3-vision-conclusion p{font-size:13.5px;line-height:1.62}

  .tm3-project-proof p{font-size:13.5px;line-height:1.62}
  .tm3-project-proof em{font-size:13px;line-height:1.55}
  .tm3-project-head>div:last-child p{font-size:15px;line-height:1.65}

  .tm3-return-value-lead p{font-size:13.5px;line-height:1.62}
  .tm3-return-value-items b{font-size:13px;line-height:1.4}
  .tm3-return-value-items p{font-size:13px;line-height:1.56}

  .tm-footer-brand p,.tm-footer a{font-size:13.5px;line-height:1.58}
  .tm-footer-bottom{font-size:11.5px;line-height:1.5}
  .tm-legal-meta{font-size:12px;line-height:1.55}
}

/* 14-inch / compact desktop viewport: preserve breathing room without shrinking type. */
@media (min-width:1101px) and (max-width:1550px){
  .tm-shell{width:min(calc(100% - 48px),var(--tm-shell))}
  .tm-nav ul{gap:24px;margin-right:12px}
  .tm3-steps{gap:9px}
  .tm3-steps article{padding:17px}
  .tm3-enterprise-layout{gap:18px}
  .tm3-service-grid{gap:6px}
}
